wok-next annotate pth/receipt @ rev 20604
More fix libtool.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 19 13:15:41 2018 +0300 (2018-04-19) |
parents | 4396aed7eb01 |
children | d08d2d235af0 |
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@20464 | 10 |
fraazz@585 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@9942 | 12 WGET_URL="ftp://ftp.ossp.org/pkg/lib/pth/$TARBALL" |
erjo@9942 | 13 |
al@20464 | 14 SPLIT="pth-dev" |
fraazz@585 | 15 |
al@20464 | 16 compile_rules() { |
al@20464 | 17 ./configure $CONFIGURE_ARGS && |
al@20604 | 18 fix libtool && |
al@20604 | 19 make -j1 && |
al@20604 | 20 make -j1 DESTDIR=$DESTDIR install |
fraazz@585 | 21 } |
fraazz@585 | 22 |
al@20464 | 23 genpkg_rules() { |
al@20464 | 24 case $PACKAGE in |
al@20464 | 25 pth) |
al@20464 | 26 copy @std |
al@20464 | 27 DEPENDS="libltdl" |
al@20464 | 28 ;; |
al@20464 | 29 *-dev) |
al@20464 | 30 copy @dev |
al@20464 | 31 ;; |
al@20464 | 32 esac |
fraazz@585 | 33 } |