wok-6.x view libpri/receipt @ rev 24072
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 17:56:16 2021 +0000 (2021-07-07) |
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 }