wok-current annotate asterisk-sound-fr/receipt @ rev 11494

Up: poppler 0.18.2; poppler-data 0.4.5 (fix build of epdfview; thank godane)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Dec 19 02:49:30 2011 +0100 (2011-12-19)
parents 29faf8434030
children a7b54d88ae54
rev   line source
pascal@1187 1 # SliTaz package receipt.
pascal@1187 2
pascal@1187 3 PACKAGE="asterisk-sound-fr"
pascal@4117 4 VERSION="1.4.16"
pascal@1423 5 CATEGORY="misc"
pascal@1187 6 SHORT_DESC="Open Source PBX and telephony toolkit sound files (fr)."
pascal@1187 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@4117 8 WEB_SITE="http://www.asterisk.org/"
pascal@4117 9 TARBALL="asterisk-core-sounds-fr-gsm-$VERSION.tar.gz"
pascal@4117 10 WGET_URL="http://downloads.asterisk.org/pub/telephony/sounds/releases/$TARBALL"
pascal@4117 11 DEPENDS="asterisk"
pascal@1187 12
pascal@4117 13 # Rules to configure and make the package.
pascal@4117 14 compile_rules()
pascal@1187 15 {
pascal@9042 16 if [ ! -d $DESTDIR/var ]; then
pascal@10764 17 cd $src || return 1
pascal@4117 18 lang=${PACKAGE#asterisk-sound-}
pascal@9042 19 mkdir -p $DESTDIR/var/lib/asterisk/sounds/$lang
pascal@9042 20 mv * $DESTDIR/var/lib/asterisk/sounds/$lang
pascal@9045 21 cd $DESTDIR/var/lib/asterisk/sounds/$lang
pascal@4117 22 for i in */ ; do
pascal@4117 23 mkdir ../$i
pascal@9045 24 ln -s ../$lang/$i ../$i$lang
pascal@4117 25 done
pascal@4117 26 fi
pascal@1187 27 }
pascal@1187 28
pascal@1187 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1187 30 genpkg_rules()
pascal@1187 31 {
pascal@4117 32 cp -a $_pkg/* $fs
pascal@1187 33 }