wok-current annotate pth/receipt @ rev 585
Added pth receipt.
author | Franco Azzano <fraazz@altern.org> |
---|---|
date | Tue Apr 15 19:55:23 2008 +0200 (2008-04-15) |
parents | |
children | 1f64c55082ab |
rev | line source |
---|---|
fraazz@585 | 1 # SliTaz package receipt. |
fraazz@585 | 2 |
fraazz@585 | 3 PACKAGE="pth" |
fraazz@585 | 4 VERSION="2.0.7" |
fraazz@585 | 5 CATEGORY="extra" |
fraazz@585 | 6 SHORT_DESC="C library for multithreading inside server applications" |
fraazz@585 | 7 MAINTAINER="fraazz@altern.org" |
fraazz@585 | 8 DEPENDS="libtool" |
fraazz@585 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
fraazz@585 | 10 WEB_SITE="http://www.gnu.org/software/pth/" |
fraazz@585 | 11 WGET_URL="ftp://ftp.ossp.org/pkg/lib/pth/pth-2.0.7.tar.gz" |
fraazz@585 | 12 |
fraazz@585 | 13 # Rules to configure and make the package. |
fraazz@585 | 14 compile_rules() |
fraazz@585 | 15 { |
fraazz@585 | 16 cd $src |
fraazz@585 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
fraazz@585 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS |
fraazz@585 | 19 make |
fraazz@585 | 20 make DESTDIR=$PWD/_pkg install |
fraazz@585 | 21 } |
fraazz@585 | 22 |
fraazz@585 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
fraazz@585 | 24 genpkg_rules() |
fraazz@585 | 25 { |
fraazz@585 | 26 mkdir -p $fs/usr |
fraazz@585 | 27 cp -a $_pkg/usr/bin $fs/usr |
fraazz@585 | 28 strip -s $fs/usr/bin/* |
fraazz@585 | 29 } |
fraazz@585 | 30 |