wok-current annotate xplc/receipt @ rev 12514
Up: xorg-libXinerama (1.1.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 24 23:59:55 2012 +0200 (2012-04-24) |
parents | 4bcc6ed80629 |
children | eb8067417980 |
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 \ |
gokhlayeh@11573 | 20 --without-libuuid $CONFIGURE_ARGS && |
jozee@5098 | 21 make && |
gokhlayeh@11573 | 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 } |