wok-current view nbs/receipt @ rev 4164
Add: xfce4-slitaz-config
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Sep 22 15:12:46 2009 +0000 (2009-09-22) |
parents | 4b4c6b703ace |
children | bee79018e13a |
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"
10 # Rules to configure and make the package.
11 compile_rules()
12 {
13 mkdir $src
14 cd $src
15 for i in Makefile nbs.h nbscat.c nbscat8k nbsclient.c nbsd.c; do
16 [ -f $i ] && continue
17 wget http://svn.digium.com/view/nbs/trunk/$i?view=co || return 1
18 mv $i\?view=co $i
19 [ -f ../stuff/$i.u ] && patch -p0 < ../stuff/$i.u
20 done
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/sbin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 ln -s libnbs.so.1.0 $fs/usr/lib/libnbs.so.1
33 # Package all nbs pkgs
34 for i in $(cd $WOK; ls -d nbs-*)
35 do
36 tazwok genpkg $i
37 done
38 }