wok-6.x view pth/receipt @ rev 10961
Add:laptop-mode-tools,util-linux-ng-blockdev
author | Liu Peng <hipeng@yahoo.com> |
---|---|
date | Tue Sep 20 20:44:27 2011 +0800 (2011-09-20) |
parents | 2eda444acede |
children | b7319995b37e |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/pth/"
10 WGET_URL="ftp://ftp.ossp.org/pkg/lib/pth/$TARBALL"
12 DEPENDS="libltdl"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr &&
19 make -j 1 &&
20 make -j 1 DESTDIR=$DESTDIR 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/lib/*.so* $fs/usr/lib
28 }