wok-6.x view vanessa_adt/receipt @ rev 1467
linux-source: build kernel in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 04 11:49:56 2008 +0000 (2008-10-04) |
parents | |
children | 3334406ef266 |
line source
1 # SliTaz package receipt.
3 PACKED_SIZE="2.8M"
4 UNPACKED_SIZE="2.8M"
5 PACKAGE="vanessa_adt"
6 VERSION="0.0.6"
7 CATEGORY="network"
8 SHORT_DESC="Abstract Data Types."
9 MAINTAINER="pascal.bellard@slitaz.org"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.vergenet.net/linux/vanessa"
12 WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL"
13 DEPENDS="vanessa_logger"
14 BUILD_DEPENDS="vanessa_logger-dev vanessa_logger"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS
22 make
23 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
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 for i in $(cd $WOK; ls -d vanessa_adt-*)
33 do
34 tazwok cook $i
35 done
36 }