wok annotate pth/receipt @ rev 24040

Up zstd (1.4.9)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 13 17:03:24 2021 +0000 (2021-04-13)
parents b7319995b37e
children 17091bc7c301
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"
pascal@15376 8 LICENSE="LGPL2.1"
fraazz@585 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
fraazz@585 10 WEB_SITE="http://www.gnu.org/software/pth/"
erjo@9942 11 WGET_URL="ftp://ftp.ossp.org/pkg/lib/pth/$TARBALL"
erjo@9942 12
slaxemulator@10851 13 DEPENDS="libltdl"
fraazz@585 14
fraazz@585 15 # Rules to configure and make the package.
fraazz@585 16 compile_rules()
fraazz@585 17 {
fraazz@585 18 cd $src
gokhlayeh@11573 19 ./configure --prefix=/usr $CONFIGURE_ARGS &&
gokhlayeh@7977 20 make -j 1 &&
erjo@9942 21 make -j 1 DESTDIR=$DESTDIR install
fraazz@585 22 }
fraazz@585 23
fraazz@585 24 # Rules to gen a SliTaz package suitable for Tazpkg.
fraazz@585 25 genpkg_rules()
fraazz@585 26 {
pankso@588 27 mkdir -p $fs/usr/lib
pascal@15376 28 cp -a $install/usr/lib/*.so* $fs/usr/lib
fraazz@585 29 }
fraazz@585 30