wok-6.x diff libpri/receipt @ rev 23754

directfb: added build dependency gcc83-lib-base
author Hans-G?nter Theisgen
date Sat May 02 11:27:04 2020 +0100 (2020-05-02)
parents 3705d68ed8f3
children 05c8d8d9d934
line diff
     1.1 --- a/libpri/receipt	Sat Feb 24 12:51:10 2018 +0100
     1.2 +++ b/libpri/receipt	Sat May 02 11:27:04 2020 +0100
     1.3 @@ -1,21 +1,27 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libpri"
     1.7 -VERSION="1.4.11.4"
     1.8 +VERSION="1.6.0"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="C implementation of the Primary Rate ISDN specification (with BRI support)."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="http://www.asterisk.org/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.asterisk.org/"
    1.17  WGET_URL="http://downloads.asterisk.org/pub/telephony/libpri/$TARBALL"
    1.18  
    1.19 +BUILD_DEPENDS="dahdi-dev dahdi-linux-dev"
    1.20 +
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -	sed -i 's|uname -m|echo i486|' Makefile
    1.25 +	sed -i 's|uname -m|echo i486|' \
    1.26 +		Makefile
    1.27  	export CFLAGS="-Wno-error=unused-but-set-variable"
    1.28 -	sed -i 's|tei = (h->u.data|// &|;s/int tei;/int tei = tei;/' q921.c
    1.29 +	sed -i 's|tei = (h->u.data|// &|;s/int tei;/int tei = tei;/' \
    1.30 +		q921.c
    1.31 +
    1.32  	make
    1.33  }
    1.34  
    1.35 @@ -23,5 +29,5 @@
    1.36  genpkg_rules()
    1.37  {
    1.38  	mkdir -p $fs/lib
    1.39 -	cp -a $src/*.so* $fs/lib
    1.40 +	cp -a $src/*.so*	$fs/lib
    1.41  }