wok-next view liblinear/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents
children 9a78fd347e59
line source
1 # SliTaz package receipt v2.
3 PACKAGE="liblinear"
4 VERSION="2.20"
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/stable/general/liblinear.html"
12 TARBALL="$PACKAGE-${VERSION//./}.tar.gz"
13 WGET_URL="https://github.com/cjlin1/liblinear/archive/v${VERSION//./}/$TARBALL"
15 SPLIT="liblinear-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 }