wok-next diff ptlib/receipt @ rev 20376

Down palemoon (27.5.0)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Nov 26 09:27:42 2017 +0100 (2017-11-26)
parents bf4a09ef1d2e
children 867395afbd02
line diff
     1.1 --- a/ptlib/receipt	Fri Oct 18 22:13:53 2013 +0000
     1.2 +++ b/ptlib/receipt	Sun Nov 26 09:27:42 2017 +0100
     1.3 @@ -1,23 +1,21 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="ptlib"
     1.8 -VERSION="2.6.5"
     1.9 +VERSION="2.10.11"
    1.10  CATEGORY="network"
    1.11  SHORT_DESC="Portable Tools Library for unix and windows."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="MPL"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16  WEB_SITE="http://www.ekiga.org/"
    1.17  WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.18  
    1.19 -DEPENDS="alsa-lib cyrus-sasl expat libsdl libdv libraw1394 \
    1.20 -libunixODBC openssl"
    1.21  BUILD_DEPENDS="pkg-config flex openssl-dev cyrus-sasl-dev zlib-dev alsa-lib-dev"
    1.22 +SPLIT="ptlib ptlib-dev"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	cd $src
    1.28  	./configure --prefix=/usr --bindir=/bin \
    1.29  	--libexecdir=/usr/bin --mandir=/usr/share/man \
    1.30  	$CONFIGURE_ARGS &&
    1.31 @@ -28,8 +26,19 @@
    1.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.33  genpkg_rules()
    1.34  {
    1.35 -	mkdir -p $fs/usr
    1.36 -	cp -a $install/usr/lib $fs/usr
    1.37 -	cp -a $install/usr/bin $fs/usr
    1.38 -	cp -a $install/usr/share $fs/usr
    1.39 +	case $PACKAGE in
    1.40 +	ptlib)
    1.41 +		DEPENDS="alsa-lib cyrus-sasl expat libsdl libdv libraw1394 \
    1.42 +			libunixODBC openssl"
    1.43 +		mkdir -p $fs/usr
    1.44 +		cp -a $install/usr/lib $fs/usr
    1.45 +		cp -a $install/usr/bin $fs/usr
    1.46 +		cp -a $install/usr/share $fs/usr
    1.47 +		;;
    1.48 +	ptlib-dev)
    1.49 +		CAT="network|Portable Tools Library for unix and windows, development files."
    1.50 +		mkdir -p $fs/usr
    1.51 +		cp -a $install/usr/include $fs/usr
    1.52 +		;;
    1.53 +	esac
    1.54  }