wok annotate net6/receipt @ rev 15625
nut: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 08 16:00:02 2013 +0000 (2013-12-08) |
parents | a31505039d6b |
children | 5341074b4c44 |
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" |
pascal@15068 | 8 LICENSE="LGPL2.1" |
pankso@2362 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15068 | 10 WEB_SITE="http://releases.0x539.de/net6/" |
pascal@15068 | 11 WGET_URL="http://releases.0x539.de/net6/$TARBALL" |
pascal@15068 | 12 |
pascal@5030 | 13 DEPENDS="gnutls libgpg-error libgcrypt libsigc++ zlib gcc-lib-base libtasn1" |
pascal@11521 | 14 BUILD_DEPENDS="$DEPENDS gnutls-dev libgpg-error-dev libgcrypt-dev libsigc++-dev \ |
pascal@11521 | 15 libtasn1-dev pkg-config p11-kit-dev" |
pankso@2362 | 16 |
pankso@2362 | 17 # Rules to configure and make the package. |
pankso@2362 | 18 compile_rules() |
pankso@2362 | 19 { |
pankso@2362 | 20 cd $src |
pankso@2362 | 21 ./configure \ |
pankso@2362 | 22 --prefix=/usr \ |
pankso@2362 | 23 --infodir=/usr/share/info \ |
pankso@2362 | 24 --mandir=/usr/share/man \ |
pankso@2362 | 25 $CONFIGURE_ARGS && |
pankso@2362 | 26 make && |
pascal@15068 | 27 make DESTDIR=$DESTDIR install |
pankso@2362 | 28 } |
pankso@2362 | 29 |
pankso@2362 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2362 | 31 genpkg_rules() |
pankso@2362 | 32 { |
pankso@2362 | 33 mkdir -p $fs/usr/lib |
pascal@15068 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@2362 | 35 } |