# HG changeset patch # User Rohit Joshi # Date 1268739105 0 # Node ID 4bcc6ed806294cbe1476992fc7c7e9292c924ca6 # Parent cac7f1b3946f8d0dfa0c434c5ba31a8bc5096b9b add xplc (wvdial new dep) diff -r cac7f1b3946f -r 4bcc6ed80629 xplc-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xplc-dev/receipt Tue Mar 16 11:31:45 2010 +0000 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="xplc-dev" +VERSION="0.3.13" +CATEGORY="development" +SHORT_DESC="xplc development files." +MAINTAINER="jozee@slitaz.org" +WEB_SITE="http://xplc.sourceforge.net" +WANTED="xplc" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/$WANTED-$VERSION + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/lib/$WANTED-$VERSION/*.a $fs/usr/lib/$WANTED-$VERSION/ +} diff -r cac7f1b3946f -r 4bcc6ed80629 xplc/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xplc/receipt Tue Mar 16 11:31:45 2010 +0000 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="xplc" +VERSION="0.3.13" +CATEGORY="network" +MAINTAINER="jozee@slitaz.org" +SHORT_DESC="Cross-Platform Lightweight Components" +BUILD_DEPENDS="" +WEB_SITE="http://xplc.sourceforge.net" +DEPENDS="gcc-lib-base" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/xplc/$TARBALL" +TAGS="" + +# Rules to configure and make the package. + +compile_rules() { + cd $src + ./configure --prefix=/usr --mandir=/usr/share/man \ + --without-libuuid && + make && + make DESTDIR=$PWD/_pkg install + +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/$PACKAGE-$VERSION + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/*so* $fs/usr/lib/ + cp -a $_pkg/usr/lib/$PACKAGE-$VERSION/*so* $fs/usr/lib/$PACKAGE-$VERSION + rm -f $fs/usr/bin/uuidgen +}