wok view nbs/receipt @ rev 1186
Add unixODBC
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 04 13:28:16 2008 +0000 (2008-08-04) |
parents | |
children | 26b57ae6bfb0 |
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
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 }