wok-next view asterisk-sound-fr/receipt @ rev 16146
Move kompozer to undigest (not compiling for a long time and not realy maintained)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 26 21:49:28 2014 +0100 (2014-03-26) |
parents | a7b54d88ae54 |
children | d958fec46c9f |
line source
1 # SliTaz package receipt.
3 PACKAGE="asterisk-sound-fr"
4 VERSION="1.4.16"
5 CATEGORY="misc"
6 SHORT_DESC="Open Source PBX and telephony toolkit sound files (fr)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="CCPL"
9 WEB_SITE="http://www.asterisk.org/"
10 TARBALL="asterisk-core-sounds-fr-gsm-$VERSION.tar.gz"
11 WGET_URL="http://downloads.asterisk.org/pub/telephony/sounds/releases/$TARBALL"
13 DEPENDS="asterisk"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 if [ ! -d $DESTDIR/var ]; then
19 cd $src || return 1
20 lang=${PACKAGE#asterisk-sound-}
21 mkdir -p $DESTDIR/var/lib/asterisk/sounds/$lang
22 mv * $DESTDIR/var/lib/asterisk/sounds/$lang
23 cd $DESTDIR/var/lib/asterisk/sounds/$lang
24 for i in */ ; do
25 mkdir ../$i
26 ln -s ../$lang/$i ../$i$lang
27 done
28 fi
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 chown -R root:root $fs
36 }