wok-current view net6/receipt @ rev 8799

(try to) fix dmraid compile_rules()
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Feb 23 00:17:31 2011 +0100 (2011-02-23)
parents 3e599985638d
children a31505039d6b
line source
1 # SliTaz package receipt.
3 PACKAGE="net6"
4 VERSION="1.3.12"
5 CATEGORY="network"
6 SHORT_DESC="Net6 library (TCP protocol abstraction for C++)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="gnutls libgpg-error libgcrypt libsigc++ zlib gcc-lib-base libtasn1"
10 BUILD_DEPENDS="$DEPENDS gnutls-dev libgpg-error-dev libgcrypt-dev libsigc++-dev libtasn1-dev pkg-config"
11 WEB_SITE="http://releases.0x539.de/net6/"
12 WGET_URL="http://releases.0x539.de/net6/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }