wok-current annotate nbs/receipt @ rev 17191
Add tsocks
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 06 15:05:57 2014 +0200 (2014-10-06) |
parents | 3765f181a6d5 |
children | 20661c276bcf |
rev | line source |
---|---|
pascal@1182 | 1 # SliTaz package receipt. |
pascal@1182 | 2 |
pascal@1182 | 3 PACKAGE="nbs" |
pascal@1182 | 4 VERSION="2007svn" |
pascal@1182 | 5 CATEGORY="network" |
pascal@1182 | 6 SHORT_DESC="Network Broadcast Sound." |
pascal@1182 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15584 | 8 LICENSE="GPL2" |
pascal@1182 | 9 WEB_SITE="http://svn.digium.com/view/nbs" |
pascal@15661 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
gokhlayeh@8564 | 11 WGET_URL="subversion|http://svn.digium.com/svn/nbs/trunk" |
pascal@1182 | 12 |
pascal@15584 | 13 BUILD_DEPENDS="subversion" |
jozee@4969 | 14 |
pascal@1182 | 15 # Rules to configure and make the package. |
pascal@1182 | 16 compile_rules() |
pascal@1182 | 17 { |
pascal@1182 | 18 cd $src |
slaxemulator@9700 | 19 patch -p0 < $stuff/Makefile.u && |
pascal@1554 | 20 make && |
pascal@15584 | 21 make DESTDIR=$DESTDIR install |
pascal@1182 | 22 } |
pascal@1182 | 23 |
pascal@1182 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1182 | 25 genpkg_rules() |
pascal@1182 | 26 { |
pascal@1182 | 27 mkdir -p $fs/usr/lib |
pascal@15584 | 28 cp -a $install/usr/bin $fs/usr |
pascal@15584 | 29 cp -a $install/usr/sbin $fs/usr |
pascal@15584 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@1182 | 31 ln -s libnbs.so.1.0 $fs/usr/lib/libnbs.so.1 |
pascal@1182 | 32 } |
pascal@1182 | 33 |