wok-next annotate nbs/receipt @ rev 20837
lua: add SHA1sum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Jun 17 19:28:49 2018 +0000 (2018-06-17) |
parents | b19ddba309f9 |
children | d5aab818505e |
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@20463 | 15 SPLIT="nbs-dev" |
jozee@4969 | 16 |
al@20463 | 17 compile_rules() { |
al@20519 | 18 |
pascal@1554 | 19 make && |
al@20513 | 20 make DESTDIR=$DESTDIR install || return 1 |
al@20513 | 21 |
al@20513 | 22 ln -s libnbs.so.1.0 $install/usr/lib/libnbs.so.1 |
al@20519 | 23 |
al@20519 | 24 # like --disable static (asterisk don't like this lib) |
al@20519 | 25 find $install -type f -name '*.a' -delete |
pascal@1182 | 26 } |
pascal@1182 | 27 |
al@20463 | 28 genpkg_rules() { |
al@20463 | 29 case $PACKAGE in |
al@20513 | 30 nbs) copy @std;; |
al@20513 | 31 *-dev) copy @dev;; |
al@20463 | 32 esac |
pascal@1182 | 33 } |