wok-current view libpri/receipt @ rev 22627

updated dansguardian (2.10.1.1 -> 2.12.0.3)
author Hans-G?nter Theisgen
date Sun Jan 12 17:58:12 2020 +0100 (2020-01-12)
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 }