wok-next annotate nbs/receipt @ rev 15584
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 30 17:02:58 2013 +0000 (2013-11-30) |
parents | d1768332cee0 |
children | cfc6ddf8de74 |
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" |
gokhlayeh@8564 | 10 WGET_URL="subversion|http://svn.digium.com/svn/nbs/trunk" |
pascal@1182 | 11 |
pascal@15584 | 12 BUILD_DEPENDS="subversion" |
jozee@4969 | 13 |
pascal@1182 | 14 # Rules to configure and make the package. |
pascal@1182 | 15 compile_rules() |
pascal@1182 | 16 { |
pascal@1182 | 17 cd $src |
slaxemulator@9700 | 18 patch -p0 < $stuff/Makefile.u && |
pascal@1554 | 19 make && |
pascal@15584 | 20 make DESTDIR=$DESTDIR install |
pascal@1182 | 21 } |
pascal@1182 | 22 |
pascal@1182 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1182 | 24 genpkg_rules() |
pascal@1182 | 25 { |
pascal@1182 | 26 mkdir -p $fs/usr/lib |
pascal@15584 | 27 cp -a $install/usr/bin $fs/usr |
pascal@15584 | 28 cp -a $install/usr/sbin $fs/usr |
pascal@15584 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@1182 | 30 ln -s libnbs.so.1.0 $fs/usr/lib/libnbs.so.1 |
pascal@1182 | 31 } |
pascal@1182 | 32 |