wok-next view libpri/receipt @ rev 21543

updated ccid (1.4.30 -> 1.4.32)
author Hans-G?nter Theisgen
date Sun Jun 21 17:20:25 2020 +0100 (2020-06-21)
parents 8940878905f3
children
line source
1 # SliTaz package receipt v2.
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 \
7 support)"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.asterisk.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://downloads.asterisk.org/pub/telephony/libpri/$TARBALL"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 export CFLAGS="-Wno-error=unused-but-set-variable"
19 sed -i 's|tei = (h->u.data|// &|;s/int tei;/int tei = tei;/' q921.c
21 make || return 1
23 mkdir -p $install/lib
24 cp -a $src/*.so* $install/lib
26 mkdir -p $install/usr/lib $install/usr/include
27 cp -a $src/*.*a $install/usr/lib
28 cp -a $src/libpri.h $install/usr/include
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libpri) copy @std;;
34 *-dev) copy @dev;;
35 esac
36 }