#Maintainer: George Vlahavas pkgname=twolame pkgver=0.3.13 pkgrel=2gv source=(http://downloads.sourceforge.net/twolame/twolame-$pkgver.tar.gz) docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://www.twolame.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "twolame (an optimised MPEG Audio Layer 2 (MP2) encoder)" "TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on" "tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code" "and portions of LAME." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-static \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver mv $startdir/pkg/usr/share/doc/twolame/html $startdir/pkg/usr/doc/$pkgname-$pkgver rm -rf $startdir/pkg/usr/share/doc }