#Packager: Dimitris Tzemos pkgname=rubberband pkgver=1.8.1 pkgrel=1dj source=("http://breakfastquay.com/files/releases/34/$pkgname-$pkgver.tar.bz2") sourcetemplate=http://people.salixos.org/djemos/salix/$pkgname docs=("CHANGELOG" "COPYING" "README.txt") url=http://breakfastquay.com/rubberband slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "rubberband (audio time-stretching and pitch-shifting)" "Rubber Band is a library and utility program that permits you to" "change the tempo and pitch of an audio recording independently of one" "another." "" "Homepage: http://breakfastquay.com/rubberband" ) build() { cd $startdir/src/$pkgname-$pkgver # Fixup libdir on x86_64 sed -i "s,\,lib$LIBDIRSUFFIX,g" Makefile.in *.pc.in || return 1 ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg # We don't need the static lib rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.a }