# HG changeset patch # User Franco Azzano # Date 1208282123 -7200 # Node ID 315a30f94e81cbdffefc28ab14aac0237dfcc2ed # Parent 465d92fe1ff78c2e5093e8623e9c4780a190631d Added pth receipt. diff -r 465d92fe1ff7 -r 315a30f94e81 pth/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pth/receipt Tue Apr 15 19:55:23 2008 +0200 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="pth" +VERSION="2.0.7" +CATEGORY="extra" +SHORT_DESC="C library for multithreading inside server applications" +MAINTAINER="fraazz@altern.org" +DEPENDS="libtool" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.gnu.org/software/pth/" +WGET_URL="ftp://ftp.ossp.org/pkg/lib/pth/pth-2.0.7.tar.gz" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr + strip -s $fs/usr/bin/* +} +