wok annotate libpri/receipt @ rev 19679
get-flash-plugin: update wget url
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Feb 10 19:24:02 2017 -0500 (2017-02-10) |
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 } |