diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-23 08:41:24 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-23 08:41:24 +0000 |
commit | 601db4f703261b3f0d3eb5d3021184dc87774a9e (patch) | |
tree | 8305296ad3e9ef96b6516c648af288f7950eafd6 /main/dahdi-tools | |
parent | e6060e073877c5d6cab995f2fcba244be703c24c (diff) | |
download | aports-601db4f703261b3f0d3eb5d3021184dc87774a9e.tar.bz2 aports-601db4f703261b3f0d3eb5d3021184dc87774a9e.tar.xz |
main/dahdi-tools: upgrade to 2.3.0
Diffstat (limited to 'main/dahdi-tools')
-rw-r--r-- | main/dahdi-tools/APKBUILD | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/main/dahdi-tools/APKBUILD b/main/dahdi-tools/APKBUILD index dbb82aab67..4d561678e9 100644 --- a/main/dahdi-tools/APKBUILD +++ b/main/dahdi-tools/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Timo Teras <timo.teras@iki.fi> # Maintainer: Timo Teras <timo.teras@iki.fi> pkgname=dahdi-tools -pkgver=2.2.0 -pkgrel=1 +pkgver=2.3.0 +pkgrel=0 pkgdesc="Digium Asterisk Hardware Device Interface management utilities" url="http://www.asterisk.org" license="GPL" @@ -14,19 +14,25 @@ subpackages="$pkgname-doc $pkgname-dev" source="http://downloads.digium.com/pub/telephony/dahdi-tools/releases/$pkgname-$pkgver.tar.gz $pkgname.initd" +_builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info - sed -i -e 's/$(CC) $(LDFLAGS) -o $@ $^/$(CC) $^ $(LDFLAGS) -o $@/' Makefile + --infodir=/usr/share/info \ + || return 1 + sed -i -e 's/$(CC) $(LDFLAGS) -o $@ $^/$(CC) $^ $(LDFLAGS) -o $@/' \ + Makefile make || return 1 - make -j1 DESTDIR="$pkgdir" install +} +package() { + cd "$_builddir" + make -j1 DESTDIR="$pkgdir" install install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/dahdi } -md5sums="a018f452f3851a312ff51705ac44de37 dahdi-tools-2.2.0.tar.gz +md5sums="6c9e2da70e4503e4d93f1ad0c83e61af dahdi-tools-2.3.0.tar.gz d9702271dba6ff250f4d9a252f4dbf4c dahdi-tools.initd" |