Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=fb3ad388c106cd95f90791e7616c6e9bf19e8b8b

commit fb3ad388c106cd95f90791e7616c6e9bf19e8b8b
Author: Devil505 <devil505li...@gmail.com>
Date:   Fri Jul 16 18:31:00 2010 +0200

asterisk-addons-1.6.2.1-1-i686
* version bump

diff --git a/source/apps-extra/asterisk-addons/FrugalBuild 
b/source/apps-extra/asterisk-addons/FrugalBuild
index 97418a9..a0b7169 100644
--- a/source/apps-extra/asterisk-addons/FrugalBuild
+++ b/source/apps-extra/asterisk-addons/FrugalBuild
@@ -3,8 +3,8 @@
# Contributor: Balint Kovacs <bl...@blint.hu>

pkgname=asterisk-addons
-pkgver=1.4.7
-pkgrel=2
+pkgver=1.6.2.1
+pkgrel=1
pkgdesc="Open Source Private Branch Exchange (PBX) - Addons"
url="http://www.asterisk.org/";
backup=(etc/asterisk/*)
@@ -15,13 +15,11 @@ up2date="lynx -dump $url/downloads |Flasttar"
source=(http://downloads.asterisk.org/pub/telephony/asterisk/releases/${pkgname}-${pkgver}.tar.gz)
signatures=(${source}.asc)

-build()
-{
-       Fcd
-       Fmkdir usr/lib/asterisk/modules
-       Fbuild
-       Fdoc $pkgname-$pkgver/configs/cdr_mysql.conf.sample
-       Fdoc $pkgname-$pkgver/configs/res_mysql.conf.sample
-}
+build() {
+  Fmake
+  make DESTDIR=$Fdestdir ASTDATADIR="$pkgdir/var/lib/asterisk" install || Fdie
+  make DESTDIR=$Fdestdir samples || Fdie

-# optimization ok
+  (cd $Fdestdir/etc/asterisk &&
+  ls | xargs -I '{}' mv '{}' '{}.default')
+}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to