wok view xplc/receipt @ rev 8094
linux-module-headers: fix /usr/src/linux creation
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 22 18:04:51 2011 +0100 (2011-01-22) |
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 }