wok annotate libpri/receipt @ rev 16347
libpthread-stubs: clean bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 23:59:16 2014 +0200 (2014-04-12) |
parents | 6e24618e3b76 |
children | 3705d68ed8f3 |
rev | line source |
---|---|
pankso@4023 | 1 # SliTaz package receipt. |
pankso@4023 | 2 |
pankso@4023 | 3 PACKAGE="libpri" |
slaxemulator@6584 | 4 VERSION="1.4.11.4" |
pankso@4023 | 5 CATEGORY="system-tools" |
pankso@4023 | 6 SHORT_DESC="C implementation of the Primary Rate ISDN specification (with BRI support)." |
pankso@4023 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15152 | 8 LICENSE="GPL2" |
pankso@4023 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4023 | 10 WEB_SITE="http://www.asterisk.org/" |
pankso@4023 | 11 WGET_URL="http://downloads.asterisk.org/pub/telephony/libpri/$TARBALL" |
pankso@4023 | 12 |
pankso@4023 | 13 # Rules to configure and make the package. |
pankso@4023 | 14 compile_rules() |
pankso@4023 | 15 { |
pankso@4023 | 16 cd $src |
pascal@15112 | 17 export CFLAGS="-Wno-error=unused-but-set-variable" |
pascal@15152 | 18 sed -i 's|tei = (h->u.data|// &|;s/int tei;/int tei = tei;/' q921.c |
pankso@4023 | 19 make |
pankso@4023 | 20 } |
pankso@4023 | 21 |
pankso@4023 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4023 | 23 genpkg_rules() |
pankso@4023 | 24 { |
pankso@4023 | 25 mkdir -p $fs/lib |
pankso@4023 | 26 cp -a $src/*.so* $fs/lib |
pankso@4023 | 27 } |