From f24faf473b84e1d92c806d1c6ee8ba4f16218dd2 Mon Sep 17 00:00:00 2001 From: Mike Staszel Date: Sun, 30 May 2010 22:56:48 -0500 Subject: [PATCH] Added wavpack --- extra/wavpack/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 extra/wavpack/PKGBUILD diff --git a/extra/wavpack/PKGBUILD b/extra/wavpack/PKGBUILD new file mode 100755 index 000000000..dfd9178c5 --- /dev/null +++ b/extra/wavpack/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Mike Staszel +# Contributor: Shinlun Hsieh +# Contributor: Michal Hybner + +# Plugbox changes: +# Removed "--enable-mmx" from the ./configure line + +pkgname=wavpack +pkgver=4.60.1 +pkgrel=1 +pkgdesc="Audio compression format with lossless, lossy, and hybrid compression modes" +arch=(arm) +url="http://www.wavpack.com/" +license=('custom') +depends=('glibc') +options=('!libtool') +source=(http://www.wavpack.com/${pkgname}-${pkgver}.tar.bz2) +md5sums=('7bb1528f910e4d0003426c02db856063') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr --disable-static || return 1 + make || return 1 +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install || return 1 + install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname} + install -m644 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 + rm -f ${pkgdir}/usr/lib/*.a +}