wok view pth/receipt @ rev 6707
Added linux-module-headers. This is used to build 3rd party kernel modules. This is based on archlinux kernel26-headers PKGBUILD.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 13 23:49:38 2010 +0000 (2010-10-13) |
parents | 1f64c55082ab |
children | 83809e28255e |
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 \
18 --prefix=/usr \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 }