wok-next annotate 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 |
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@20648 | 15 BUILD_DEPENDS="gfortran" |
al@21020 | 16 SPLIT="$PACKAGE-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@21020 | 24 make -j1 DESTDIR=$install 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 } |