wok rev 23094

updated libpri and libpri-dev (1.4.11.1 -> 1.6.0)
author Hans-G?nter Theisgen
date Wed Mar 11 17:02:47 2020 +0100 (2020-03-11)
parents 3601f83e0645
children 0840763b8546
files libpri-dev/receipt libpri/receipt
line diff
     1.1 --- a/libpri-dev/receipt	Wed Mar 11 15:53:32 2020 +0100
     1.2 +++ b/libpri-dev/receipt	Wed Mar 11 17:02:47 2020 +0100
     1.3 @@ -1,18 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libpri-dev"
     1.7 -VERSION="1.4.11.4"
     1.8 +VERSION="1.6.0"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="The libpri devel files."
    1.11 +SHORT_DESC="The libpri development files."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://www.asterisk.org/"
    1.15 +
    1.16  WANTED="libpri"
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.19  genpkg_rules()
    1.20  {
    1.21 -	mkdir -p $fs/usr/lib $fs/usr/include
    1.22 -	cp -a $src/*.*a $fs/usr/lib
    1.23 -	cp -a $src/libpri.h $fs/usr/include
    1.24 +	mkdir -p $fs/usr/lib
    1.25 +	mkdir -p $fs/usr/include
    1.26 +
    1.27 +	cp -a $src/*.*a		$fs/usr/lib
    1.28 +	cp -a $src/libpri.h	$fs/usr/include
    1.29  }
     2.1 --- a/libpri/receipt	Wed Mar 11 15:53:32 2020 +0100
     2.2 +++ b/libpri/receipt	Wed Mar 11 17:02:47 2020 +0100
     2.3 @@ -1,21 +1,27 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libpri"
     2.7 -VERSION="1.4.11.4"
     2.8 +VERSION="1.6.0"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="C implementation of the Primary Rate ISDN specification (with BRI support)."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13 +WEB_SITE="http://www.asterisk.org/"
    2.14 +
    2.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16 -WEB_SITE="http://www.asterisk.org/"
    2.17  WGET_URL="http://downloads.asterisk.org/pub/telephony/libpri/$TARBALL"
    2.18  
    2.19 +BUILD_DEPENDS="dahdi-dev dahdi-linux-dev"
    2.20 +
    2.21  # Rules to configure and make the package.
    2.22  compile_rules()
    2.23  {
    2.24 -	sed -i 's|uname -m|echo i486|' Makefile
    2.25 +	sed -i 's|uname -m|echo i486|' \
    2.26 +		Makefile
    2.27  	export CFLAGS="-Wno-error=unused-but-set-variable"
    2.28 -	sed -i 's|tei = (h->u.data|// &|;s/int tei;/int tei = tei;/' q921.c
    2.29 +	sed -i 's|tei = (h->u.data|// &|;s/int tei;/int tei = tei;/' \
    2.30 +		q921.c
    2.31 +
    2.32  	make
    2.33  }
    2.34  
    2.35 @@ -23,5 +29,5 @@
    2.36  genpkg_rules()
    2.37  {
    2.38  	mkdir -p $fs/lib
    2.39 -	cp -a $src/*.so* $fs/lib
    2.40 +	cp -a $src/*.so*	$fs/lib
    2.41  }