wok-6.x view libpri/receipt @ rev 21493

updated mspdebug (0.17 -> 8.25)
author Hans-G?nter Theisgen
date Thu May 02 11:28:38 2019 +0100 (2019-05-02)
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 }