wok annotate net6/receipt @ rev 12760
parcellite: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 12 11:58:09 2012 +0200 (2012-05-12) |
parents | 4bf5be8cc6c7 |
children | 205d192370e5 |
rev | line source |
---|---|
pankso@2362 | 1 # SliTaz package receipt. |
pankso@2362 | 2 |
pankso@2362 | 3 PACKAGE="net6" |
pascal@11521 | 4 VERSION="1.3.14" |
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" |
pascal@11521 | 10 BUILD_DEPENDS="$DEPENDS gnutls-dev libgpg-error-dev libgcrypt-dev libsigc++-dev \ |
pascal@11521 | 11 libtasn1-dev pkg-config p11-kit-dev" |
pankso@4315 | 12 WEB_SITE="http://releases.0x539.de/net6/" |
pankso@2362 | 13 WGET_URL="http://releases.0x539.de/net6/$TARBALL" |
pankso@2362 | 14 |
pankso@2362 | 15 # Rules to configure and make the package. |
pankso@2362 | 16 compile_rules() |
pankso@2362 | 17 { |
pankso@2362 | 18 cd $src |
pankso@2362 | 19 ./configure \ |
pankso@2362 | 20 --prefix=/usr \ |
pankso@2362 | 21 --infodir=/usr/share/info \ |
pankso@2362 | 22 --mandir=/usr/share/man \ |
pankso@2362 | 23 $CONFIGURE_ARGS && |
pankso@2362 | 24 make && |
pankso@2362 | 25 make DESTDIR=$PWD/_pkg install |
pankso@2362 | 26 } |
pankso@2362 | 27 |
pankso@2362 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2362 | 29 genpkg_rules() |
pankso@2362 | 30 { |
pankso@2362 | 31 mkdir -p $fs/usr/lib |
pankso@2362 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@2362 | 33 } |