wok-current rev 1419
Add ptlib ptlib-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 25 10:07:08 2008 +0000 (2008-09-25) |
parents | e0e655b8e0d1 |
children | ba812064b9f2 |
files | ptlib-dev/receipt ptlib/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ptlib-dev/receipt Thu Sep 25 10:07:08 2008 +0000 1.3 @@ -0,0 +1,17 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="ptlib-dev" 1.7 +VERSION="2.4.1" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Portable Tools Library for unix and windows, development files." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="http://www.ekiga.org/" 1.12 +WANTED="ptlib" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr 1.18 + cp -a $_pkg/usr/include $fs/usr 1.19 +} 1.20 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/ptlib/receipt Thu Sep 25 10:07:08 2008 +0000 2.3 @@ -0,0 +1,38 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="ptlib" 2.7 +VERSION="2.4.1" 2.8 +CATEGORY="network" 2.9 +SHORT_DESC="Portable Tools Library for unix and windows." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.12 +WEB_SITE="http://www.ekiga.org/" 2.13 +WGET_URL="$WEB_SITE/admin/downloads/latest/sources/sources/$TARBALL" 2.14 +BUILD_DEPENDS="pwlib pwlib-dev" 2.15 + 2.16 +# Rules to configure and make the package. 2.17 +compile_rules() 2.18 +{ 2.19 + cd $src 2.20 + ./configure --prefix=/usr --bindir=/bin \ 2.21 + --libexecdir=/usr/bin --mandir=/usr/share/man \ 2.22 + $CONFIGURE_ARGS 2.23 + make 2.24 + make DESTDIR=$PWD/_pkg install 2.25 +} 2.26 + 2.27 + 2.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.29 +genpkg_rules() 2.30 +{ 2.31 + mkdir -p $fs/usr 2.32 + cp -a $_pkg/usr/lib $fs/usr 2.33 + cp -a $_pkg/usr/bin $fs/usr 2.34 + cp -a $_pkg/usr/share $fs/usr 2.35 + # Package all ptlib pkgs 2.36 + for i in $(cd $WOK; ls -d ptlib-*) 2.37 + do 2.38 + tazwok genpkg $i 2.39 + done 2.40 +} 2.41 +