wok-stable diff asterisk-dev/receipt @ rev 4836

privoxy: tidy receipt
author Paul Issott <paul@slitaz.org>
date Sun Jan 24 20:03:53 2010 +0000 (2010-01-24)
parents 03a799424aaa
children 255ba9018575
line diff
     1.1 --- a/asterisk-dev/receipt	Fri Sep 26 09:21:16 2008 +0000
     1.2 +++ b/asterisk-dev/receipt	Sun Jan 24 20:03:53 2010 +0000
     1.3 @@ -1,30 +1,16 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="asterisk-dev"
     1.7 -VERSION="bristuff"
     1.8 +VERSION="1.6.1.6"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Open Source PBX and telephony toolkit development files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 -WEB_SITE="http://www.digium.com/"
    1.13 -WANTED="bristuff"
    1.14 -
    1.15 -# Extract VERSION from WANTED package source
    1.16 -get_version()
    1.17 -{
    1.18 -	eval $(grep ^AST_VER= $WOK/$WANTED/$WANTED-*/download.sh)
    1.19 -	VERSION=$WANTED-$AST_VER
    1.20 -}
    1.21 +WEB_SITE="http://www.asterisk.org/"
    1.22 +WANTED="asterisk"
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27 -	get_version
    1.28 -	[ -d taz/$PACKAGE-$WANTED/fs ] && \
    1.29 -		mv taz/$PACKAGE-$WANTED taz/$PACKAGE-$VERSION
    1.30 -	_pkg=$(cd $(dirname $src)/$WANTED-*/_pkg ; pwd)
    1.31 -	while read file; do
    1.32 -		dir=$(dirname $file)
    1.33 -		[ -d $fs$dir ] || mkdir -p $fs$dir
    1.34 -		eval cp -a "$_pkg$file" $fs$dir
    1.35 -	done < $_pkg/../$PACKAGE.files-list
    1.36 +	mkdir -p $fs/usr
    1.37 +	cp -a $_pkg/usr/include $fs/usr
    1.38  }