wok annotate nbs/receipt @ rev 25285
updated rpcbind (1.2.5 -> 1.2.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 16:27:00 2022 +0100 (2022-07-18) |
parents | 05c8d8d9d934 |
children |
rev | line source |
---|---|
pascal@1182 | 1 # SliTaz package receipt. |
pascal@1182 | 2 |
pascal@1182 | 3 PACKAGE="nbs" |
pascal@1182 | 4 VERSION="2007svn" |
pascal@1182 | 5 CATEGORY="network" |
pascal@1182 | 6 SHORT_DESC="Network Broadcast Sound." |
pascal@1182 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15584 | 8 LICENSE="GPL2" |
pascal@23974 | 9 WEB_SITE="https://www.asterisk.org/" |
pascal@15661 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
gokhlayeh@8564 | 11 WGET_URL="subversion|http://svn.digium.com/svn/nbs/trunk" |
pascal@1182 | 12 |
pascal@15584 | 13 BUILD_DEPENDS="subversion" |
jozee@4969 | 14 |
pascal@24699 | 15 # What is the latest version available today? |
pascal@24699 | 16 current_version() |
pascal@24699 | 17 { |
pascal@24699 | 18 wget -O - http://svn.digium.com/svn/nbs/trunk/ 2>/dev/null | \ |
pascal@24699 | 19 sed '/rev=/!d;s|.*rev="||;s|".*||;q' |
pascal@24699 | 20 } |
pascal@24699 | 21 |
pascal@1182 | 22 # Rules to configure and make the package. |
pascal@1182 | 23 compile_rules() |
pascal@1182 | 24 { |
pascal@1182 | 25 cd $src |
slaxemulator@9700 | 26 patch -p0 < $stuff/Makefile.u && |
pascal@1554 | 27 make && |
pascal@15584 | 28 make DESTDIR=$DESTDIR install |
pascal@1182 | 29 } |
pascal@1182 | 30 |
pascal@1182 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1182 | 32 genpkg_rules() |
pascal@1182 | 33 { |
pascal@1182 | 34 mkdir -p $fs/usr/lib |
pascal@15584 | 35 cp -a $install/usr/bin $fs/usr |
pascal@15584 | 36 cp -a $install/usr/sbin $fs/usr |
pascal@15584 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@1182 | 38 ln -s libnbs.so.1.0 $fs/usr/lib/libnbs.so.1 |
pascal@1182 | 39 } |
pascal@1182 | 40 |