wok annotate xplc/receipt @ rev 10683
linphone: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 27 15:32:56 2011 +0200 (2011-05-27) |
parents | |
children | b7319995b37e |
rev | line source |
---|---|
jozee@5098 | 1 # SliTaz package receipt. |
jozee@5098 | 2 |
jozee@5098 | 3 PACKAGE="xplc" |
jozee@5098 | 4 VERSION="0.3.13" |
jozee@5098 | 5 CATEGORY="network" |
jozee@5098 | 6 MAINTAINER="jozee@slitaz.org" |
jozee@5098 | 7 SHORT_DESC="Cross-Platform Lightweight Components" |
jozee@5098 | 8 BUILD_DEPENDS="" |
jozee@5098 | 9 WEB_SITE="http://xplc.sourceforge.net" |
jozee@5098 | 10 DEPENDS="gcc-lib-base" |
jozee@5098 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@5098 | 12 WGET_URL="$SF_MIRROR/xplc/$TARBALL" |
jozee@5098 | 13 TAGS="" |
jozee@5098 | 14 |
jozee@5098 | 15 # Rules to configure and make the package. |
jozee@5098 | 16 |
jozee@5098 | 17 compile_rules() { |
jozee@5098 | 18 cd $src |
jozee@5098 | 19 ./configure --prefix=/usr --mandir=/usr/share/man \ |
jozee@5098 | 20 --without-libuuid && |
jozee@5098 | 21 make && |
jozee@5098 | 22 make DESTDIR=$PWD/_pkg install |
jozee@5098 | 23 |
jozee@5098 | 24 } |
jozee@5098 | 25 |
jozee@5098 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@5098 | 27 genpkg_rules() |
jozee@5098 | 28 { |
jozee@5098 | 29 mkdir -p $fs/usr/lib/$PACKAGE-$VERSION |
jozee@5098 | 30 cp -a $_pkg/usr/bin $fs/usr |
jozee@5098 | 31 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/ |
jozee@5098 | 32 cp -a $_pkg/usr/lib/$PACKAGE-$VERSION/*so* $fs/usr/lib/$PACKAGE-$VERSION |
jozee@5098 | 33 rm -f $fs/usr/bin/uuidgen |
jozee@5098 | 34 } |