wok annotate libpri/receipt @ rev 23979

xvkbd: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 18 09:50:51 2020 +0000 (2020-11-18)
parents e57a14f339ba
children 453c249b6219
rev   line source
pankso@4023 1 # SliTaz package receipt.
pankso@4023 2
pankso@4023 3 PACKAGE="libpri"
Hans-G?nter@23094 4 VERSION="1.6.0"
pankso@4023 5 CATEGORY="system-tools"
pankso@4023 6 SHORT_DESC="C implementation of the Primary Rate ISDN specification (with BRI support)."
pankso@4023 7 MAINTAINER="pankso@slitaz.org"
pascal@15152 8 LICENSE="GPL2"
pascal@23974 9 WEB_SITE="https://www.asterisk.org/"
Hans-G?nter@23094 10
pankso@4023 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@4023 12 WGET_URL="http://downloads.asterisk.org/pub/telephony/libpri/$TARBALL"
pankso@4023 13
Hans-G?nter@23094 14 BUILD_DEPENDS="dahdi-dev dahdi-linux-dev"
Hans-G?nter@23094 15
pankso@4023 16 # Rules to configure and make the package.
pankso@4023 17 compile_rules()
pankso@4023 18 {
Hans-G?nter@23094 19 sed -i 's|uname -m|echo i486|' \
Hans-G?nter@23094 20 Makefile
pascal@15112 21 export CFLAGS="-Wno-error=unused-but-set-variable"
Hans-G?nter@23094 22 sed -i 's|tei = (h->u.data|// &|;s/int tei;/int tei = tei;/' \
Hans-G?nter@23094 23 q921.c
Hans-G?nter@23094 24
pankso@4023 25 make
pankso@4023 26 }
pankso@4023 27
pankso@4023 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4023 29 genpkg_rules()
pankso@4023 30 {
pankso@4023 31 mkdir -p $fs/lib
Hans-G?nter@23094 32 cp -a $src/*.so* $fs/lib
pankso@4023 33 }