wok-current view pth/receipt @ rev 3533

merge 3532:012d72b2b629 , 3530:0109c31e8835
author root@bt-199-036.bta.net.cn
date Mon Jun 22 17:30:40 2009 +0800 (2009-06-22)
parents 315a30f94e81
children b36b7d0594af
line source
1 # SliTaz package receipt.
3 PACKAGE="pth"
4 VERSION="2.0.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="C library for multithreading inside server applications."
7 MAINTAINER="fraazz@altern.org"
8 DEPENDS="libtool"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/pth/"
11 WGET_URL="ftp://ftp.ossp.org/pkg/lib/pth/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 }