wok-next view liblinear/receipt @ rev 20845

Add neofetch, tcl2c-fork; build two versions of tklauncher (using tcl2c and tcl2c-fork) with different warnings
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 09:45:42 2018 +0300 (2018-06-23)
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 }