wok-next annotate nbs/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d457c4e37c1b
children
rev   line source
al@20463 1 # SliTaz package receipt v2.
pascal@1182 2
pascal@1182 3 PACKAGE="nbs"
pascal@1182 4 VERSION="2007svn"
pascal@1182 5 CATEGORY="network"
al@20463 6 SHORT_DESC="Network Broadcast Sound"
pascal@1182 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15584 8 LICENSE="GPL2"
pascal@21145 9 WEB_SITE="http://www.asterisk.org/"
al@20463 10
pascal@15661 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
gokhlayeh@8564 12 WGET_URL="subversion|http://svn.digium.com/svn/nbs/trunk"
pascal@1182 13
pascal@15584 14 BUILD_DEPENDS="subversion"
al@21020 15 SPLIT="$PACKAGE-dev"
jozee@4969 16
al@20463 17 compile_rules() {
pascal@1554 18 make &&
al@21020 19 make DESTDIR=$install install || return 1
al@20513 20
al@20513 21 ln -s libnbs.so.1.0 $install/usr/lib/libnbs.so.1
al@20519 22
al@20519 23 # like --disable static (asterisk don't like this lib)
al@20519 24 find $install -type f -name '*.a' -delete
pascal@1182 25 }
pascal@1182 26
al@20463 27 genpkg_rules() {
al@20463 28 case $PACKAGE in
al@20513 29 nbs) copy @std;;
al@20513 30 *-dev) copy @dev;;
al@20463 31 esac
pascal@1182 32 }