wok-next annotate libpri/receipt @ rev 20487
nareto: update config.ini.php path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 10:58:05 2018 +0100 (2018-03-12) |
parents | e3944c37af3a |
children | d5aab818505e |
rev | line source |
---|---|
al@20462 | 1 # SliTaz package receipt v2. |
pankso@4023 | 2 |
pankso@4023 | 3 PACKAGE="libpri" |
slaxemulator@6584 | 4 VERSION="1.4.11.4" |
pankso@4023 | 5 CATEGORY="system-tools" |
al@20462 | 6 SHORT_DESC="C implementation of the Primary Rate ISDN specification (with BRI \ |
al@20462 | 7 support)" |
pankso@4023 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15152 | 9 LICENSE="GPL2" |
al@20462 | 10 WEB_SITE="http://www.asterisk.org/" |
al@20462 | 11 |
pankso@4023 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4023 | 13 WGET_URL="http://downloads.asterisk.org/pub/telephony/libpri/$TARBALL" |
pankso@4023 | 14 |
al@20462 | 15 SPLIT="libpri-dev" |
al@20462 | 16 |
al@20462 | 17 compile_rules() { |
pascal@15112 | 18 export CFLAGS="-Wno-error=unused-but-set-variable" |
pascal@15152 | 19 sed -i 's|tei = (h->u.data|// &|;s/int tei;/int tei = tei;/' q921.c |
al@20462 | 20 make || return 1 |
al@20462 | 21 |
al@20462 | 22 mkdir -p $install/lib |
al@20462 | 23 cp -a $src/*.so* $install/lib |
al@20462 | 24 |
al@20462 | 25 mkdir -p $install/usr/lib $install/usr/include |
al@20462 | 26 cp -a $src/*.*a $install/usr/lib |
al@20462 | 27 cp -a $src/libpri.h $install/usr/include |
pankso@4023 | 28 } |
pankso@4023 | 29 |
al@20462 | 30 genpkg_rules() { |
al@20462 | 31 case $PACKAGE in |
al@20462 | 32 libpri) copy @std;; |
al@20462 | 33 *-dev) copy @dev;; |
al@20462 | 34 esac |
pankso@4023 | 35 } |