wok-next view liblinear/receipt @ rev 21087
Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 28 05:11:49 2018 +0200 (2018-12-28) |
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 }