wok-6.x view libpri/receipt @ rev 23431
updated phpsysinfo (3.0.18 -> 3.3.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 01 17:19:45 2020 +0100 (2020-04-01) |
parents | 3705d68ed8f3 |
children | 05c8d8d9d934 |
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="http://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 }