wok view nbs/receipt @ rev 23469

linux-zram: autostart (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 05 11:03:33 2020 +0200 (2020-04-05)
parents cfc6ddf8de74
children 05c8d8d9d934
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 LICENSE="GPL2"
9 WEB_SITE="http://www.asterisk.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="subversion|http://svn.digium.com/svn/nbs/trunk"
13 BUILD_DEPENDS="subversion"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -p0 < $stuff/Makefile.u &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/sbin $fs/usr
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 ln -s libnbs.so.1.0 $fs/usr/lib/libnbs.so.1
32 }