wok-next annotate pth/receipt @ rev 8551

imported patch get/fcitx-zm
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:56 2011 +0100 (2011-02-13)
parents b36b7d0594af
children 2eda444acede
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 DEPENDS="libtool"
fraazz@585 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
fraazz@585 10 WEB_SITE="http://www.gnu.org/software/pth/"
pankso@588 11 WGET_URL="ftp://ftp.ossp.org/pkg/lib/pth/$TARBALL"
fraazz@585 12
fraazz@585 13 # Rules to configure and make the package.
fraazz@585 14 compile_rules()
fraazz@585 15 {
fraazz@585 16 cd $src
pankso@4058 17 ./configure \
pankso@4058 18 --prefix=/usr \
pankso@4058 19 --mandir=/usr/share/man \
pankso@4058 20 $CONFIGURE_ARGS &&
gokhlayeh@7977 21 make -j 1 &&
gokhlayeh@7977 22 make -j 1 DESTDIR=$PWD/_pkg install
fraazz@585 23 }
fraazz@585 24
fraazz@585 25 # Rules to gen a SliTaz package suitable for Tazpkg.
fraazz@585 26 genpkg_rules()
fraazz@585 27 {
pankso@588 28 mkdir -p $fs/usr/lib
pankso@588 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
fraazz@585 30 }
fraazz@585 31