#Maintainer: Thorsten Muehlfelder pkgname=mp3_check pkgver=1.98 pkgrel=1tm arch=i486 source=("http://mesh.dl.sourceforge.net/sourceforge/mp3check/$pkgname-$pkgver.tar.gz") docs=('README' 'NOTES' 'GOALS' 'COPYING') url="http://freshmeat.net/projects/mp3_check/" #CFLAGS="-O2 -march=k8 -msse3" #CXXFLAGS="-O2 -march=k8 -msse3" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - Checks MP3 files for errors" "mp3_check helps to identify in explicit detail MP3s that do not" "correctly follow the MP3 format. It also looks for invalid frame" "headers, missing frames, etc., and generates useful statistics. This" "can be especially important when building an archive, and you want" "high quality MP3s." ) build() { cd $startdir/src/${pkgname}-$pkgver sed -i 's#^LOCALBASE\ ?=\ /usr/local$#LOCALBASE\ ?=\ /usr#' Makefile sed -i 's#mp3_check ${LOCALBASE}/bin#mp3_check ${DESTDIR}${LOCALBASE}/bin/#' Makefile make -j3 || return 1 mkdir -p ${startdir}/pkg/usr/bin/ make DESTDIR=$startdir/pkg install }