diff options
-rw-r--r-- | testing/spandsp/APKBUILD | 17 |
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" |