summaryrefslogtreecommitdiff
path: root/repo/system/liblinear.xibuild
blob: 2427bca25e190c4309c2397cf4f8bcd3602f3c4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

MAKEDEPS=(make )
DEPS=(glibc)

PKG_VER=243
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 () {
    install -vm644 linear.h $PKG_DEST/usr/include &&
    install -vm755 liblinear.so.4 $PKG_DEST/usr/lib &&
    ln -sfv liblinear.so.4 $PKG_DEST/usr/lib/liblinear.so
}