diff --git a/srcpkgs/libsamplerate/libsamplerate-devel.template b/srcpkgs/libsamplerate/libsamplerate-devel.template index 87d66950db..35b5cb6f31 100644 --- a/srcpkgs/libsamplerate/libsamplerate-devel.template +++ b/srcpkgs/libsamplerate/libsamplerate-devel.template @@ -1,14 +1,9 @@ # Template file for 'libsamplerate-devel'. # -depends="glibc-devel libsndfile-devel libsamplerate" -short_desc="${short_desc} (development files)" -long_desc="${long_desc} +depends="libsndfile-devel ${sourcepkg}>=${version}" +short_desc="${short_desc} -- development files" - This package contains files for development, headers, static libs, etc." - - -do_install() -{ +do_install() { mkdir -p ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib diff --git a/srcpkgs/libsamplerate/template b/srcpkgs/libsamplerate/template index 54235386e2..38f3847219 100644 --- a/srcpkgs/libsamplerate/template +++ b/srcpkgs/libsamplerate/template @@ -1,14 +1,18 @@ # Template file for 'libsamplerate' pkgname=libsamplerate -version=0.1.7 -revision=5 -distfiles="http://www.mega-nerd.com/SRC/$pkgname-$version.tar.gz" +version=0.1.8 +revision=1 +subpackages="${pkgname}-devel" build_style=gnu-configure configure_args="CFLAGS=-fPIC" -makedepends="pkg-config libsndfile-devel fftw-devel" +hostmakedepends="pkg-config" +makedepends="libsndfile-devel fftw-devel" short_desc="Sample Rate Converter for audio" maintainer="Juan RP " -checksum=78ed5d9ff1bf162c4a078f6a3e7432a537dd2f22dc58872b081fb01156027fcc +homepage="http://www.mega-nerd.com/SRC/index.html" +license="GPL-2" +distfiles="http://www.mega-nerd.com/SRC/$pkgname-$version.tar.gz" +checksum=93b54bdf46d5e6d2354b7034395fe329c222a966790de34520702bb9642f1c06 long_desc=" One example of where such a thing would be useful is converting audio from the CD sample rate of 44.1kHz to the 48kHz sample rate used by DAT players. @@ -18,5 +22,3 @@ long_desc=" means that the ratio of input and output sample rates can be an irrational number. The conversion ratio can also vary with time for speeding up and slowing down effects." - -subpackages="$pkgname-devel"