wok-next view pth/receipt @ rev 21383

updated nbd again (3.3 -> 3.20)
author Hans-G?nter Theisgen
date Thu Apr 16 17:34:38 2020 +0100 (2020-04-16)
parents d5aab818505e
children
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="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.gnu.org/software/pth/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/pth.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 COOKOPTS="force-arch" # different configs
17 BUILD_DEPENDS="gfortran"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 ./configure \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make -j1 &&
26 make -j1 DESTDIR=$install install || return 1
28 cook_pick_docs README PORTING SUPPORT TESTS
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 pth) copy @std;;
34 *-dev) copy @dev;;
35 esac
36 }