wok view libpri/receipt @ rev 15427

Up: thunderbird-langpack-sl (17.0.9esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 03 21:52:54 2013 +0100 (2013-11-03)
parents 6e24618e3b76
children 3705d68ed8f3
line source
1 # SliTaz package receipt.
3 PACKAGE="libpri"
4 VERSION="1.4.11.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="C implementation of the Primary Rate ISDN specification (with BRI support)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.asterisk.org/"
11 WGET_URL="http://downloads.asterisk.org/pub/telephony/libpri/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 export CFLAGS="-Wno-error=unused-but-set-variable"
18 sed -i 's|tei = (h->u.data|// &|;s/int tei;/int tei = tei;/' q921.c
19 make
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/lib
26 cp -a $src/*.so* $fs/lib
27 }