diff options
author | davidovski <git@davidovski.xyz> | 2022-02-16 09:37:41 +0000 |
---|---|---|
committer | davidovski <git@davidovski.xyz> | 2022-02-16 09:37:41 +0000 |
commit | 045734ceeb5b8e8c2cdaa9f62f89de57db07a6ec (patch) | |
tree | 208fb5ec9af934c1db1e3cf3c79b91cefd10516a /repo/system/liblinear.xibuild | |
parent | e964fd9b52aabdfff452068e486f34cb467fca71 (diff) |
added nmap
Diffstat (limited to 'repo/system/liblinear.xibuild')
-rw-r--r-- | repo/system/liblinear.xibuild | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/repo/system/liblinear.xibuild b/repo/system/liblinear.xibuild new file mode 100644 index 0000000..2427bca --- /dev/null +++ b/repo/system/liblinear.xibuild @@ -0,0 +1,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 +} |