wok view nbs/receipt @ rev 9384
Fixed tazpkg and tazwok to get the sources from mercurial through tag archives.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Mar 26 00:07:02 2011 +0000 (2011-03-26) |
parents | 53e1828da719 |
children | d1768332cee0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nbs"
4 VERSION="2007svn"
5 CATEGORY="network"
6 SHORT_DESC="Network Broadcast Sound."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 BUILD_DEPENDS="subversion"
9 WEB_SITE="http://svn.digium.com/view/nbs"
10 WGET_URL="subversion|http://svn.digium.com/svn/nbs/trunk"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 patch -p0 < ../stuff/Makefile.u &&
18 make &&
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/sbin $fs/usr
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 ln -s libnbs.so.1.0 $fs/usr/lib/libnbs.so.1
30 }