wok-next annotate liblinear/receipt @ rev 20698
tor: oh, I see there is DEPENDS below
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed May 23 15:22:22 2018 +0000 (2018-05-23) |
parents | |
children | 9a78fd347e59 |
rev | line source |
---|---|
al@20516 | 1 # SliTaz package receipt v2. |
al@20516 | 2 |
al@20516 | 3 PACKAGE="liblinear" |
al@20516 | 4 VERSION="2.20" |
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@20516 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/liblinear.html" |
al@20516 | 11 |
al@20516 | 12 TARBALL="$PACKAGE-${VERSION//./}.tar.gz" |
al@20516 | 13 WGET_URL="https://github.com/cjlin1/liblinear/archive/v${VERSION//./}/$TARBALL" |
al@20516 | 14 |
al@20516 | 15 SPLIT="liblinear-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 } |