wok-next view pth/receipt @ rev 20715

Up nsd (4.1.21)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 13:10:46 2018 +0300 (2018-05-27)
parents 10df65db91ad
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pth"
4 VERSION="2.0.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="C library for multithreading inside server applications"
7 MAINTAINER="fraazz@altern.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.gnu.org/software/pth/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/pth.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="gfortran"
16 SPLIT="pth-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make -j1 &&
24 make -j1 DESTDIR=$DESTDIR install || return 1
26 cook_pick_docs README PORTING SUPPORT TESTS
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 pth) copy @std;;
32 *-dev) copy @dev;;
33 esac
34 }