summaryrefslogtreecommitdiffstats
path: root/testing/spandsp/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-05 12:49:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-05 12:49:24 +0000
commit904836c378b25be70720eb39eb09df7c7752cfa8 (patch)
tree2a076e5d3221a8e6c740391bd7eb9008be0c995b /testing/spandsp/APKBUILD
parent0b20870496b49f18e9811d7e104b5d73829364f4 (diff)
downloadaports-904836c378b25be70720eb39eb09df7c7752cfa8.tar.bz2
aports-904836c378b25be70720eb39eb09df7c7752cfa8.tar.xz
testing/spandsp: upgrade to 0.0.5
Diffstat (limited to 'testing/spandsp/APKBUILD')
-rw-r--r--testing/spandsp/APKBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/testing/spandsp/APKBUILD b/testing/spandsp/APKBUILD
index dd1f227a3..bcb5818d1 100644
--- a/testing/spandsp/APKBUILD
+++ b/testing/spandsp/APKBUILD
@@ -1,28 +1,31 @@
# Contributor:
# Maintainer:
pkgname=spandsp
-pkgver=0.0.5_pre4
-_ver=0.0.5pre4
+pkgver=0.0.5
pkgrel=0
pkgdesc="library to use DSP functions for telephony"
url="http://www.soft-switch.org/"
license="GPL"
-depends="uclibc tiff"
+depends=
makedepends="tiff-dev"
install=
subpackages="$pkgname-dev"
-source="http://www.soft-switch.org/downloads/spandsp/$pkgname-$_ver.tgz"
+source="http://www.soft-switch.org/downloads/spandsp/$pkgname-$pkgver.tgz"
+_builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$srcdir/$pkgname-0.0.5"
-
+ cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install
}
-md5sums="fe83ed37a7831f0dd38e7ef4e7e6fd9e spandsp-0.0.5pre4.tgz"
+md5sums="fe83ed37a7831f0dd38e7ef4e7e6fd9e spandsp-0.0.5.tgz"