wok view libpri/receipt @ rev 22814

openvas-libraries: patch for Bison 3
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 01 18:47:18 2020 +0100 (2020-02-01)
parents e3944c37af3a
children e57a14f339ba
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 sed -i 's|uname -m|echo i486|' Makefile
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 }