From 564dd67619cefe748d59c1d818606dcc525f1d12 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 22 May 2012 18:44:03 +0200 Subject: [PATCH] libsndfile: update to 1.0.25. --- srcpkgs/libsndfile/libsndfile-devel.template | 14 ++++++-------- srcpkgs/libsndfile/libsndfile-progs.template | 10 +++------- srcpkgs/libsndfile/template | 9 ++++++--- 3 files changed, 15 insertions(+), 18 deletions(-) diff --git a/srcpkgs/libsndfile/libsndfile-devel.template b/srcpkgs/libsndfile/libsndfile-devel.template index e7571f949f3..7f6e00ba495 100644 --- a/srcpkgs/libsndfile/libsndfile-devel.template +++ b/srcpkgs/libsndfile/libsndfile-devel.template @@ -8,13 +8,11 @@ long_desc="${long_desc} Add_dependency run alsa-lib-devel Add_dependency run libvorbis-devel Add_dependency run libflac-devel -Add_dependency run libsndfile +Add_dependency run libsndfile ">=$version" -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr +do_install() { + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib + vmove "usr/lib/*.a" usr/lib + vmove usr/share usr } diff --git a/srcpkgs/libsndfile/libsndfile-progs.template b/srcpkgs/libsndfile/libsndfile-progs.template index 9465fcd9fd9..b1e11262c54 100644 --- a/srcpkgs/libsndfile/libsndfile-progs.template +++ b/srcpkgs/libsndfile/libsndfile-progs.template @@ -1,16 +1,12 @@ # Template file for 'libsndfile-progs'. # -revision=1 short_desc="${sourcepkg} - bundled cmdline apps" long_desc="${long_desc} This package contains the command line applications that use libsndfile." - -do_install() -{ - mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/usr/share - mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/share/man ${DESTDIR}/usr/share +do_install() { + vmove usr/bin usr + vmove usr/share/man usr/share } diff --git a/srcpkgs/libsndfile/template b/srcpkgs/libsndfile/template index 3d1387002f6..dde3fb22c7d 100644 --- a/srcpkgs/libsndfile/template +++ b/srcpkgs/libsndfile/template @@ -1,18 +1,21 @@ # Template file for 'libsndfile' pkgname=libsndfile -version=1.0.23 -revision=2 +version=1.0.25 +homepage="http://www.mega-nerd.com/libsndfile" +license="LGPL-2.1" distfiles="http://www.mega-nerd.com/$pkgname/files/$pkgname-$version.tar.gz" build_style=gnu-configure short_desc="C library for reading and writing files containing sampled sound" maintainer="Juan RP " -checksum=54c9c375598538263395a691f9b30987a2faa3d8a166d27e6a09ba4700223d4d +checksum=59016dbd326abe7e2366ded5c344c853829bebfd1702ef26a07ef662d6aa4882 long_desc=" Libsndfile is a C library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one standard library interface." subpackages="$pkgname-progs $pkgname-devel" +Add_dependency build pkg-config +Add_dependency build python Add_dependency build alsa-lib-devel Add_dependency build libvorbis-devel ">=1.2.3" Add_dependency build libflac-devel