wok-next view libpri/receipt @ rev 20487
nareto: update config.ini.php path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 10:58:05 2018 +0100 (2018-03-12) |
parents | e3944c37af3a |
children | d5aab818505e |
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="pankso@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="libpri-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
20 make || return 1
22 mkdir -p $install/lib
23 cp -a $src/*.so* $install/lib
25 mkdir -p $install/usr/lib $install/usr/include
26 cp -a $src/*.*a $install/usr/lib
27 cp -a $src/libpri.h $install/usr/include
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 libpri) copy @std;;
33 *-dev) copy @dev;;
34 esac
35 }