wok annotate pth/receipt @ rev 11340
seamonkey: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 26 11:04:18 2011 +0100 (2011-11-26) |
parents | 2eda444acede |
children | b7319995b37e |
rev | line source |
---|---|
fraazz@585 | 1 # SliTaz package receipt. |
fraazz@585 | 2 |
fraazz@585 | 3 PACKAGE="pth" |
fraazz@585 | 4 VERSION="2.0.7" |
pankso@588 | 5 CATEGORY="system-tools" |
pankso@588 | 6 SHORT_DESC="C library for multithreading inside server applications." |
fraazz@585 | 7 MAINTAINER="fraazz@altern.org" |
fraazz@585 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
fraazz@585 | 9 WEB_SITE="http://www.gnu.org/software/pth/" |
erjo@9942 | 10 WGET_URL="ftp://ftp.ossp.org/pkg/lib/pth/$TARBALL" |
erjo@9942 | 11 |
slaxemulator@10851 | 12 DEPENDS="libltdl" |
fraazz@585 | 13 |
fraazz@585 | 14 # Rules to configure and make the package. |
fraazz@585 | 15 compile_rules() |
fraazz@585 | 16 { |
fraazz@585 | 17 cd $src |
erjo@9942 | 18 ./configure --prefix=/usr && |
gokhlayeh@7977 | 19 make -j 1 && |
erjo@9942 | 20 make -j 1 DESTDIR=$DESTDIR 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 { |
pankso@588 | 26 mkdir -p $fs/usr/lib |
pankso@588 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
fraazz@585 | 28 } |
fraazz@585 | 29 |