wok-next annotate nbs/receipt @ rev 12455
Up osip (3.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 21 20:47:41 2012 +0200 (2012-04-21) |
parents | 23b7c2a99749 |
children | 3765f181a6d5 |
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" |
gokhlayeh@8564 | 8 BUILD_DEPENDS="subversion" |
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 |
jozee@4969 | 12 |
pascal@1182 | 13 # Rules to configure and make the package. |
pascal@1182 | 14 compile_rules() |
pascal@1182 | 15 { |
pascal@1182 | 16 cd $src |
slaxemulator@9700 | 17 patch -p0 < $stuff/Makefile.u && |
pascal@1554 | 18 make && |
pascal@1182 | 19 make DESTDIR=$PWD/_pkg install |
pascal@1182 | 20 } |
pascal@1182 | 21 |
pascal@1182 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1182 | 23 genpkg_rules() |
pascal@1182 | 24 { |
pascal@1182 | 25 mkdir -p $fs/usr/lib |
pascal@1182 | 26 cp -a $_pkg/usr/bin $fs/usr |
pascal@1182 | 27 cp -a $_pkg/usr/sbin $fs/usr |
pascal@1182 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1182 | 29 ln -s libnbs.so.1.0 $fs/usr/lib/libnbs.so.1 |
pascal@1182 | 30 } |
pascal@1182 | 31 |