wok-next annotate nbs/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents af06991818fa
children d457c4e37c1b
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@1182 9 WEB_SITE="http://svn.digium.com/view/nbs"
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 }