wok-next diff liblinear/receipt @ rev 20775
quodlibet: remove non-existent package from bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 20:44:57 2018 +0300 (2018-06-06) |
parents | |
children | 9a78fd347e59 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/liblinear/receipt Wed Jun 06 20:44:57 2018 +0300 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="liblinear" 1.7 +VERSION="2.20" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="A Library for Large Linear Classification" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="BSD" 1.12 +WEB_SITE="https://github.com/cjlin1/liblinear/" 1.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/liblinear.html" 1.14 + 1.15 +TARBALL="$PACKAGE-${VERSION//./}.tar.gz" 1.16 +WGET_URL="https://github.com/cjlin1/liblinear/archive/v${VERSION//./}/$TARBALL" 1.17 + 1.18 +SPLIT="liblinear-dev" 1.19 + 1.20 +compile_rules() { 1.21 + make lib || return 1 1.22 + install -Dm644 linear.h $install/usr/include/linear.h 1.23 + install -Dm755 liblinear.so.3 $install/usr/lib/liblinear.so.3 1.24 + ln -sf liblinear.so.3 $install/usr/lib/liblinear.so 1.25 +} 1.26 + 1.27 +genpkg_rules() { 1.28 + case $PACKAGE in 1.29 + liblinear) copy @std;; 1.30 + *-dev) copy @dev;; 1.31 + esac 1.32 +}