#Maintainer: Thorsten Muehlfelder pkgname=libmpcdec pkgver=1.2.6 pkgrel=1tm arch=x86_64 source=("http://files.musepack.net/source/libmpcdec-$pkgver.tar.bz2") url="http://www.musepack.net" docs=('AUTHORS' 'COPYING' 'INSTALL' 'README' 'ChangeLog') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - Portable Musepack decoder library" "Musepack is an audio compression format with a strong emphasis on high" "quality. It's not lossless, but it is designed for transparency, so" "that you won't be able to hear differences between the original wave" "file and the much smaller MPC file." ) build() { cd $startdir/src/${pkgname}-${pkgver} # don't use -O3 sed -i 's/-O3\ -fomit-frame-pointer/-fomit-frame-pointer/' configure || return 1 # compile ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc \ --includedir=/usr/include \ --disable-static \ --disable-debug || return 1 make -j3 || return 1 make DESTDIR=$startdir/pkg install }