wok-6.x view libpri/receipt @ rev 23974
Up openvpn (2.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 28 15:17:00 2020 +0000 (2020-10-28) |
parents | e57a14f339ba |
children | 453c249b6219 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libpri"
4 VERSION="1.6.0"
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 WEB_SITE="https://www.asterisk.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://downloads.asterisk.org/pub/telephony/libpri/$TARBALL"
14 BUILD_DEPENDS="dahdi-dev dahdi-linux-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|uname -m|echo i486|' \
20 Makefile
21 export CFLAGS="-Wno-error=unused-but-set-variable"
22 sed -i 's|tei = (h->u.data|// &|;s/int tei;/int tei = tei;/' \
23 q921.c
25 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/lib
32 cp -a $src/*.so* $fs/lib
33 }