wok annotate libpri/receipt @ rev 23190

updated mpc (0.31 -> 0.33)
author Hans-G?nter Theisgen
date Fri Mar 20 09:22:39 2020 +0100 (2020-03-20)
parents 3705d68ed8f3
children 05c8d8d9d934
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"
Hans-G?nter@23094 9 WEB_SITE="http://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 }