wok-next annotate 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 |
rev | line source |
---|---|
al@20516 | 1 # SliTaz package receipt v2. |
al@20516 | 2 |
al@20516 | 3 PACKAGE="liblinear" |
al@21015 | 4 VERSION="220" |
al@20516 | 5 CATEGORY="development" |
al@20516 | 6 SHORT_DESC="A Library for Large Linear Classification" |
al@20516 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20516 | 8 LICENSE="BSD" |
al@20516 | 9 WEB_SITE="https://github.com/cjlin1/liblinear/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/liblinear.html" |
al@20516 | 11 |
al@21015 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@21015 | 13 WGET_URL="https://github.com/cjlin1/liblinear/archive/v$VERSION/$TARBALL" |
al@20516 | 14 |
al@21015 | 15 SPLIT="$PACKAGE-dev" |
al@20516 | 16 |
al@20516 | 17 compile_rules() { |
al@20516 | 18 make lib || return 1 |
al@20516 | 19 install -Dm644 linear.h $install/usr/include/linear.h |
al@20516 | 20 install -Dm755 liblinear.so.3 $install/usr/lib/liblinear.so.3 |
al@20516 | 21 ln -sf liblinear.so.3 $install/usr/lib/liblinear.so |
al@20516 | 22 } |
al@20516 | 23 |
al@20516 | 24 genpkg_rules() { |
al@20516 | 25 case $PACKAGE in |
al@20516 | 26 liblinear) copy @std;; |
al@20516 | 27 *-dev) copy @dev;; |
al@20516 | 28 esac |
al@20516 | 29 } |