wok-stable diff xplc/receipt @ rev 7862
tazpkg-web: exclude path from common files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 01 21:01:35 2011 +0100 (2011-01-01) |
parents | |
children | b7319995b37e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xplc/receipt Sat Jan 01 21:01:35 2011 +0100 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="xplc" 1.7 +VERSION="0.3.13" 1.8 +CATEGORY="network" 1.9 +MAINTAINER="jozee@slitaz.org" 1.10 +SHORT_DESC="Cross-Platform Lightweight Components" 1.11 +BUILD_DEPENDS="" 1.12 +WEB_SITE="http://xplc.sourceforge.net" 1.13 +DEPENDS="gcc-lib-base" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="$SF_MIRROR/xplc/$TARBALL" 1.16 +TAGS="" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 + 1.20 +compile_rules() { 1.21 + cd $src 1.22 + ./configure --prefix=/usr --mandir=/usr/share/man \ 1.23 + --without-libuuid && 1.24 + make && 1.25 + make DESTDIR=$PWD/_pkg install 1.26 + 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/lib/$PACKAGE-$VERSION 1.33 + cp -a $_pkg/usr/bin $fs/usr 1.34 + cp -a $_pkg/usr/lib/*so* $fs/usr/lib/ 1.35 + cp -a $_pkg/usr/lib/$PACKAGE-$VERSION/*so* $fs/usr/lib/$PACKAGE-$VERSION 1.36 + rm -f $fs/usr/bin/uuidgen 1.37 +}