wok view nbs/receipt @ rev 5371

Fixed bug #316 - 3 missing BUILD_DEPENDS in slim package.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Apr 30 03:51:49 2010 +0000 (2010-04-30)
parents 26b57ae6bfb0
children b4b992b90e4a
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 WEB_SITE="http://svn.digium.com/view/nbs"
11 # Rules to configure and make the package.
12 compile_rules()
13 {
14 mkdir $src
15 cd $src
16 for i in Makefile nbs.h nbscat.c nbscat8k nbsclient.c nbsd.c; do
17 [ -f $i ] && continue
18 wget http://svn.digium.com/view/nbs/trunk/$i?view=co || return 1
19 mv $i\?view=co $i
20 [ -f ../stuff/$i.u ] && patch -p0 < ../stuff/$i.u
21 done
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/sbin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 ln -s libnbs.so.1.0 $fs/usr/lib/libnbs.so.1
34 # Package all nbs pkgs
35 for i in $(cd $WOK; ls -d nbs-*)
36 do
37 tazwok genpkg $i
38 done
39 }