From ace07d15fe1d63e1629a422dbffff6b66cbce7c9 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 23 Jun 2010 13:27:17 +0000 Subject: main/libresample: new apkbuild real-time library for sampling rate conversion https://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html Does not provide any shared .so and asterisk is the only app that uses it so far so let it stay static for now. --- main/libresample/APKBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 main/libresample/APKBUILD diff --git a/main/libresample/APKBUILD b/main/libresample/APKBUILD new file mode 100644 index 0000000000..f45036781c --- /dev/null +++ b/main/libresample/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: +# Maintainer: +pkgname=libresample +pkgver=0.1.3 +pkgrel=0 +pkgdesc="real-time library for sampling rate conversion" +url="https://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html" +license="GPL" +depends= +makedepends="wget" +install= +subpackages= +source="https://ccrma.stanford.edu/~jos/gz/libresample-$pkgver.tgz" + +# append extra dependencies to -dev subpackage +# remove if not used. +# depends_dev="somepackage-dev" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + # apply patches here +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$_builddir" + install -d "$pkgdir"/usr/include "$pkgdir"/usr/lib + install -m644 include/libresample.h "$pkgdir"/usr/include/ + install -m644 libresample.a "$pkgdir"/usr/lib/ + +} + +md5sums="99bc5ea15ef76b83e5655a10968f674b libresample-0.1.3.tgz" -- cgit v1.2.3