wok-6.x annotate n2nc/receipt @ rev 15277
libmikmod: configure want macintosh/_libmikmodversion.r
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 26 10:11:13 2013 +0000 (2013-09-26) |
parents | b994d2c0f802 |
children | 6b9be4254023 |
rev | line source |
---|---|
pascal@12973 | 1 # SliTaz package receipt. |
pascal@12973 | 2 |
pascal@12973 | 3 PACKAGE="n2nc" |
pascal@12973 | 4 VERSION="r_133" |
pascal@12973 | 5 CATEGORY="network" |
pascal@12973 | 6 SHORT_DESC="Nat 2 Nat COnnector." |
pascal@12973 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@12973 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@12973 | 10 WEB_SITE="http://n2nc.sourceforge.net/" |
pascal@12973 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@12973 | 12 |
pascal@12973 | 13 DEPENDS="zlib libcrypto gcc-lib-base" |
pascal@12973 | 14 BUILD_DEPENDS="bash openssl-dev bzip2-dev zlib-dev" |
pascal@12973 | 15 |
pascal@12973 | 16 # Rules to configure and make the package. |
pascal@12973 | 17 compile_rules() |
pascal@12973 | 18 { |
pascal@12973 | 19 mv $PACKAGE $src 2> /dev/null |
pascal@12973 | 20 cd $src |
pascal@12973 | 21 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@12973 | 22 --localstatedir=/var \ |
pascal@12973 | 23 $CONFIGURE_ARGS && |
pascal@12973 | 24 make && |
pascal@12973 | 25 make DESTDIR=$DESTDIR install |
pascal@12973 | 26 } |
pascal@12973 | 27 |
pascal@12973 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12973 | 29 genpkg_rules() |
pascal@12973 | 30 { |
pascal@12973 | 31 mkdir -p $fs/usr |
pascal@15000 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 33 cp -a $install/usr/lib $fs/usr |
pascal@12973 | 34 } |