wok-next view pth/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | e19ff076dc63 |
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 BUILD_DEPENDS="gfortran"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make -j1 &&
24 make -j1 DESTDIR=$install 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 }