wok-next view libpri/receipt @ rev 19607
Up: advancecomp, cmake, curl, docbook-xml*, docbook-xsl*, glib, gtk-doc, itstool, jpeg-turbo, lcms2, lemon, libarchive, libcroco, libcurl, libffi, libgcrypt, libgio, libgpg-error, libidn, libjpeg-turbo, libpng+apng, libpng, libsqlite, libxslt, lz4, lz5, lzham_codec, lzo, lzop, nasm, nettle, optipng, pngquant, sqlite, tiff.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Feb 03 12:13:00 2017 +0200 (2017-02-03) |
parents | 6e24618e3b76 |
children | 8940878905f3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libpri"
4 VERSION="1.4.11.4"
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.asterisk.org/"
11 WGET_URL="http://downloads.asterisk.org/pub/telephony/libpri/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 export CFLAGS="-Wno-error=unused-but-set-variable"
18 sed -i 's|tei = (h->u.data|// &|;s/int tei;/int tei = tei;/' q921.c
19 make
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/lib
26 cp -a $src/*.so* $fs/lib
27 }