wok-next annotate 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
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"
fraazz@585 7 MAINTAINER="fraazz@altern.org"
pascal@15376 8 LICENSE="LGPL2.1"
al@20464 9 WEB_SITE="http://www.gnu.org/software/pth/"
al@20648 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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@20648 15 BUILD_DEPENDS="gfortran"
al@20464 16 SPLIT="pth-dev"
fraazz@585 17
al@20464 18 compile_rules() {
al@20648 19 ./configure \
al@20648 20 --disable-static \
al@20648 21 $CONFIGURE_ARGS &&
al@20604 22 fix libtool &&
al@20604 23 make -j1 &&
al@20648 24 make -j1 DESTDIR=$DESTDIR install || return 1
al@20648 25
al@20648 26 cook_pick_docs README PORTING SUPPORT TESTS
fraazz@585 27 }
fraazz@585 28
al@20464 29 genpkg_rules() {
al@20464 30 case $PACKAGE in
al@20648 31 pth) copy @std;;
al@20648 32 *-dev) copy @dev;;
al@20464 33 esac
fraazz@585 34 }