wok-current view libpri/receipt @ rev 25146
updated portaudio and portaudio-dev (190600_20161030 -> 19.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:26:46 2022 +0100 (2022-06-29) |
parents | 05c8d8d9d934 |
children |
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/$PACKAGE-/!d;/tar/!d;/current/d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;s|-patch||" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|uname -m|echo i486|' \
27 Makefile
28 export CFLAGS="-Wno-error=unused-but-set-variable"
29 sed -i 's|tei = (h->u.data|// &|;s/int tei;/int tei = tei;/' \
30 q921.c
32 make
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/lib
39 cp -a $src/*.so* $fs/lib
40 }