wok-next view xplc/receipt @ rev 6780
Up: tazpkg (4.1) - Fix cpio exctrat
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Oct 18 22:05:07 2010 +0200 (2010-10-18) |
parents | |
children | b7319995b37e |
line source
1 # SliTaz package receipt.
3 PACKAGE="xplc"
4 VERSION="0.3.13"
5 CATEGORY="network"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="Cross-Platform Lightweight Components"
8 BUILD_DEPENDS=""
9 WEB_SITE="http://xplc.sourceforge.net"
10 DEPENDS="gcc-lib-base"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/xplc/$TARBALL"
13 TAGS=""
15 # Rules to configure and make the package.
17 compile_rules() {
18 cd $src
19 ./configure --prefix=/usr --mandir=/usr/share/man \
20 --without-libuuid &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib/$PACKAGE-$VERSION
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
32 cp -a $_pkg/usr/lib/$PACKAGE-$VERSION/*so* $fs/usr/lib/$PACKAGE-$VERSION
33 rm -f $fs/usr/bin/uuidgen
34 }