summaryrefslogtreecommitdiff
path: root/repo/liblinear/liblinear.xibuild
blob: 5222f8e5d97e9ff07d6869a86b5e67f2d4f07924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

MAKEDEPS="make "
DEPS="musl"

PKG_VER=245
SOURCE=https://github.com/cjlin1/liblinear/archive/v$PKG_VER/liblinear-$PKG_VER.tar.gz
DESC="A library for large linear classification"

build () {
    make lib
}

package () {
    mkdir -p ${PKG_DEST}/usr/include
    mkdir -p ${PKG_DEST}/usr/lib
    install -m644 linear.h $PKG_DEST/usr/include &&
    install -m755 liblinear.so.4 $PKG_DEST/usr/lib &&
    ln -sf liblinear.so.4 $PKG_DEST/usr/lib/liblinear.so
}