wok-next view liblinear/receipt @ rev 21607
updated duviz (09032015 -> 1.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 09:45:57 2020 +0100 (2020-06-25) |
parents | 9a78fd347e59 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="liblinear"
4 VERSION="220"
5 CATEGORY="development"
6 SHORT_DESC="A Library for Large Linear Classification"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/cjlin1/liblinear/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/liblinear.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/cjlin1/liblinear/archive/v$VERSION/$TARBALL"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 make lib || return 1
19 install -Dm644 linear.h $install/usr/include/linear.h
20 install -Dm755 liblinear.so.3 $install/usr/lib/liblinear.so.3
21 ln -sf liblinear.so.3 $install/usr/lib/liblinear.so
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 liblinear) copy @std;;
27 *-dev) copy @dev;;
28 esac
29 }