wok-current rev 5098
add xplc (wvdial new dep)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Mar 16 11:31:45 2010 +0000 (2010-03-16) |
parents | cac7f1b3946f |
children | dad80edb4950 |
files | xplc-dev/receipt xplc/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xplc-dev/receipt Tue Mar 16 11:31:45 2010 +0000 1.3 @@ -0,0 +1,18 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="xplc-dev" 1.7 +VERSION="0.3.13" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="xplc development files." 1.10 +MAINTAINER="jozee@slitaz.org" 1.11 +WEB_SITE="http://xplc.sourceforge.net" 1.12 +WANTED="xplc" 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/lib/$WANTED-$VERSION 1.18 + cp -a $_pkg/usr/include $fs/usr 1.19 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.20 + cp -a $_pkg/usr/lib/$WANTED-$VERSION/*.a $fs/usr/lib/$WANTED-$VERSION/ 1.21 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/xplc/receipt Tue Mar 16 11:31:45 2010 +0000 2.3 @@ -0,0 +1,34 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="xplc" 2.7 +VERSION="0.3.13" 2.8 +CATEGORY="network" 2.9 +MAINTAINER="jozee@slitaz.org" 2.10 +SHORT_DESC="Cross-Platform Lightweight Components" 2.11 +BUILD_DEPENDS="" 2.12 +WEB_SITE="http://xplc.sourceforge.net" 2.13 +DEPENDS="gcc-lib-base" 2.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.15 +WGET_URL="$SF_MIRROR/xplc/$TARBALL" 2.16 +TAGS="" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 + 2.20 +compile_rules() { 2.21 + cd $src 2.22 + ./configure --prefix=/usr --mandir=/usr/share/man \ 2.23 + --without-libuuid && 2.24 + make && 2.25 + make DESTDIR=$PWD/_pkg install 2.26 + 2.27 +} 2.28 + 2.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.30 +genpkg_rules() 2.31 +{ 2.32 + mkdir -p $fs/usr/lib/$PACKAGE-$VERSION 2.33 + cp -a $_pkg/usr/bin $fs/usr 2.34 + cp -a $_pkg/usr/lib/*so* $fs/usr/lib/ 2.35 + cp -a $_pkg/usr/lib/$PACKAGE-$VERSION/*so* $fs/usr/lib/$PACKAGE-$VERSION 2.36 + rm -f $fs/usr/bin/uuidgen 2.37 +}