wok-next view asterisk-sound/receipt @ rev 17925
Fix ownership/permissions for some Core packages.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 11 16:40:30 2015 +0300 (2015-04-11) |
parents | a7b54d88ae54 |
children | d958fec46c9f |
line source
1 # SliTaz package receipt.
3 PACKAGE="asterisk-sound"
4 VERSION="1.4.16"
5 CATEGORY="misc"
6 SHORT_DESC="Open Source PBX and telephony toolkit sound files (en)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="CCPL"
9 WEB_SITE="http://www.asterisk.org/"
10 TARBALL="asterisk-core-sounds-en-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 [ ! -d $DESTDIR/var ] &&
19 cd $src &&
20 mkdir -p $DESTDIR/var/lib/asterisk/sounds &&
21 mv * $DESTDIR/var/lib/asterisk/sounds
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/* $fs
28 chown -R root:root $fs
29 }