wok-6.x annotate libpri/receipt @ rev 20924

updated flashrom (0.9.6.1 -> 1.0)
author Hans-G?nter Theisgen
date Sat Mar 02 09:50:24 2019 +0100 (2019-03-02)
parents e3944c37af3a
children e57a14f339ba
rev   line source
pankso@4023 1 # SliTaz package receipt.
pankso@4023 2
pankso@4023 3 PACKAGE="libpri"
slaxemulator@6584 4 VERSION="1.4.11.4"
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"
pankso@4023 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@4023 10 WEB_SITE="http://www.asterisk.org/"
pankso@4023 11 WGET_URL="http://downloads.asterisk.org/pub/telephony/libpri/$TARBALL"
pankso@4023 12
pankso@4023 13 # Rules to configure and make the package.
pankso@4023 14 compile_rules()
pankso@4023 15 {
pascal@20212 16 sed -i 's|uname -m|echo i486|' Makefile
pascal@15112 17 export CFLAGS="-Wno-error=unused-but-set-variable"
pascal@15152 18 sed -i 's|tei = (h->u.data|// &|;s/int tei;/int tei = tei;/' q921.c
pankso@4023 19 make
pankso@4023 20 }
pankso@4023 21
pankso@4023 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4023 23 genpkg_rules()
pankso@4023 24 {
pankso@4023 25 mkdir -p $fs/lib
pankso@4023 26 cp -a $src/*.so* $fs/lib
pankso@4023 27 }