Added extra/wavpack

This commit is contained in:
Kevin Mihelich 2011-01-23 02:25:28 -05:00
parent 69cacb61d6
commit 63371b0171

35
extra/wavpack/PKGBUILD Normal file
View file

@ -0,0 +1,35 @@
# $Id: PKGBUILD 69146 2010-02-18 00:37:49Z dgriffiths $
# Maintainer: François Charette <firmicus ατ gmx δοτ net>
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
# Contributor: Michal Hybner <dta081@gmail.com>
# PlugApps: Kevin Mihelich <kevin@plugapps.com>
# - changed configure line from --enable-mmx to --disable-mms
plugrel=1
pkgname=wavpack
pkgver=4.60.1
pkgrel=1
pkgdesc="Audio compression format with lossless, lossy, and hybrid compression modes"
arch=('i686' 'x86_64')
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-mmx --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
}