wok-next annotate pth/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
fraazz@585 | 2 |
fraazz@585 | 3 PACKAGE="pth" |
fraazz@585 | 4 VERSION="2.0.7" |
pankso@588 | 5 CATEGORY="system-tools" |
al@20464 | 6 SHORT_DESC="C library for multithreading inside server applications" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15376 | 8 LICENSE="LGPL2.1" |
al@20464 | 9 WEB_SITE="http://www.gnu.org/software/pth/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/pth.html" |
al@20464 | 11 |
fraazz@585 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20648 | 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
erjo@9942 | 14 |
al@21094 | 15 COOKOPTS="force-arch" # different configs |
al@21094 | 16 |
al@20648 | 17 BUILD_DEPENDS="gfortran" |
al@21020 | 18 SPLIT="$PACKAGE-dev" |
fraazz@585 | 19 |
al@20464 | 20 compile_rules() { |
al@20648 | 21 ./configure \ |
al@20648 | 22 --disable-static \ |
al@20648 | 23 $CONFIGURE_ARGS && |
al@20604 | 24 fix libtool && |
al@20604 | 25 make -j1 && |
al@21020 | 26 make -j1 DESTDIR=$install install || return 1 |
al@20648 | 27 |
al@20648 | 28 cook_pick_docs README PORTING SUPPORT TESTS |
fraazz@585 | 29 } |
fraazz@585 | 30 |
al@20464 | 31 genpkg_rules() { |
al@20464 | 32 case $PACKAGE in |
al@20648 | 33 pth) copy @std;; |
al@20648 | 34 *-dev) copy @dev;; |
al@20464 | 35 esac |
fraazz@585 | 36 } |