wok-current annotate libpri/receipt @ rev 15112
Add some -Wno-error=unused-but-set-variable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 14 21:14:37 2013 +0000 (2013-08-14) |
parents | 55448c722f2d |
children | e3944c37af3a |
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" |
pankso@4023 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4023 | 9 WEB_SITE="http://www.asterisk.org/" |
pankso@4023 | 10 WGET_URL="http://downloads.asterisk.org/pub/telephony/libpri/$TARBALL" |
pankso@4023 | 11 |
pankso@4023 | 12 # Rules to configure and make the package. |
pankso@4023 | 13 compile_rules() |
pankso@4023 | 14 { |
pankso@4023 | 15 cd $src |
pascal@15112 | 16 export CFLAGS="-Wno-error=unused-but-set-variable" |
pankso@4023 | 17 make |
pankso@4023 | 18 } |
pankso@4023 | 19 |
pankso@4023 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4023 | 21 genpkg_rules() |
pankso@4023 | 22 { |
pankso@4023 | 23 mkdir -p $fs/lib |
pankso@4023 | 24 cp -a $src/*.so* $fs/lib |
pankso@4023 | 25 } |