wok view nbs/receipt @ rev 25451
Add bluez-gatttool
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Sep 15 07:47:22 2022 +0000 (2022-09-15) |
parents | 05c8d8d9d934 |
children |
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="https://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 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - http://svn.digium.com/svn/nbs/trunk/ 2>/dev/null | \
19 sed '/rev=/!d;s|.*rev="||;s|".*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 patch -p0 < $stuff/Makefile.u &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 ln -s libnbs.so.1.0 $fs/usr/lib/libnbs.so.1
39 }