wok-6.x view nbs/receipt @ rev 7825
Add igmpproxy
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 26 12:43:29 2010 +0100 (2010-12-26) |
parents | b4b992b90e4a |
children | 23b7c2a99749 |
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 TARBALL=$PACKAGE-$VERSION.tar.gz
17 [ -f $SOURCES_REPOSITORY/$TARBALL ] &&
18 tar xzf $SOURCES_REPOSITORY/$TARBALL
19 for i in Makefile nbs.h nbscat.c nbscat8k nbsclient.c nbsd.c; do
20 [ -f $i ] && continue
21 wget http://svn.digium.com/view/nbs/trunk/$i?view=co || return 1
22 mv $i\?view=co $i
23 [ -f ../stuff/$i.u ] && patch -p0 < ../stuff/$i.u
24 done
25 [ -f $SOURCES_REPOSITORY/$TARBALL ] ||
26 tar cvzf $SOURCES_REPOSITORY/$TARBALL \
27 Makefile nbs.h nbscat.c nbscat8k nbsclient.c nbsd.c
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/sbin $fs/usr
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 ln -s libnbs.so.1.0 $fs/usr/lib/libnbs.so.1
40 }