wok-next annotate pth/receipt @ rev 20533

cairo-clock, grub4dos: fix CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 27 12:50:45 2018 +0200 (2018-03-27)
parents bf4a09ef1d2e
children 10df65db91ad
rev   line source
al@20464 1 # SliTaz package receipt v2.
fraazz@585 2
fraazz@585 3 PACKAGE="pth"
fraazz@585 4 VERSION="2.0.7"
pankso@588 5 CATEGORY="system-tools"
al@20464 6 SHORT_DESC="C library for multithreading inside server applications"
fraazz@585 7 MAINTAINER="fraazz@altern.org"
pascal@15376 8 LICENSE="LGPL2.1"
al@20464 9 WEB_SITE="http://www.gnu.org/software/pth/"
al@20464 10
fraazz@585 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@9942 12 WGET_URL="ftp://ftp.ossp.org/pkg/lib/pth/$TARBALL"
erjo@9942 13
al@20464 14 SPLIT="pth-dev"
fraazz@585 15
al@20464 16 compile_rules() {
al@20464 17 ./configure $CONFIGURE_ARGS &&
gokhlayeh@7977 18 make -j 1 &&
erjo@9942 19 make -j 1 DESTDIR=$DESTDIR install
fraazz@585 20 }
fraazz@585 21
al@20464 22 genpkg_rules() {
al@20464 23 case $PACKAGE in
al@20464 24 pth)
al@20464 25 copy @std
al@20464 26 DEPENDS="libltdl"
al@20464 27 ;;
al@20464 28 *-dev)
al@20464 29 copy @dev
al@20464 30 ;;
al@20464 31 esac
fraazz@585 32 }