wok annotate net6/receipt @ rev 11095
Up: dhcp to 4.2.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 02:48:46 2011 +0000 (2011-10-17) |
parents | 3e599985638d |
children | a31505039d6b |
rev | line source |
---|---|
pankso@2362 | 1 # SliTaz package receipt. |
pankso@2362 | 2 |
pankso@2362 | 3 PACKAGE="net6" |
slaxemulator@6346 | 4 VERSION="1.3.12" |
pascal@2584 | 5 CATEGORY="network" |
pankso@2362 | 6 SHORT_DESC="Net6 library (TCP protocol abstraction for C++)." |
pankso@2362 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2362 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@5030 | 9 DEPENDS="gnutls libgpg-error libgcrypt libsigc++ zlib gcc-lib-base libtasn1" |
slaxemulator@6346 | 10 BUILD_DEPENDS="$DEPENDS gnutls-dev libgpg-error-dev libgcrypt-dev libsigc++-dev libtasn1-dev pkg-config" |
pankso@4315 | 11 WEB_SITE="http://releases.0x539.de/net6/" |
pankso@2362 | 12 WGET_URL="http://releases.0x539.de/net6/$TARBALL" |
pankso@2362 | 13 |
pankso@2362 | 14 # Rules to configure and make the package. |
pankso@2362 | 15 compile_rules() |
pankso@2362 | 16 { |
pankso@2362 | 17 cd $src |
pankso@2362 | 18 ./configure \ |
pankso@2362 | 19 --prefix=/usr \ |
pankso@2362 | 20 --infodir=/usr/share/info \ |
pankso@2362 | 21 --mandir=/usr/share/man \ |
pankso@2362 | 22 $CONFIGURE_ARGS && |
pankso@2362 | 23 make && |
pankso@2362 | 24 make DESTDIR=$PWD/_pkg install |
pankso@2362 | 25 } |
pankso@2362 | 26 |
pankso@2362 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2362 | 28 genpkg_rules() |
pankso@2362 | 29 { |
pankso@2362 | 30 mkdir -p $fs/usr/lib |
pankso@2362 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@2362 | 32 } |