diff --git a/srcpkgs/libsndfile-devel b/srcpkgs/libsndfile-devel new file mode 120000 index 00000000000..582829a19b1 --- /dev/null +++ b/srcpkgs/libsndfile-devel @@ -0,0 +1 @@ +libsndfile \ No newline at end of file diff --git a/srcpkgs/libsndfile-progs b/srcpkgs/libsndfile-progs new file mode 120000 index 00000000000..582829a19b1 --- /dev/null +++ b/srcpkgs/libsndfile-progs @@ -0,0 +1 @@ +libsndfile \ No newline at end of file diff --git a/srcpkgs/libsndfile/depends b/srcpkgs/libsndfile/depends new file mode 100644 index 00000000000..1572c0e89f0 --- /dev/null +++ b/srcpkgs/libsndfile/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.0.20" +api_depends="${abi_depends}" diff --git a/srcpkgs/libsndfile/libsndfile-devel.template b/srcpkgs/libsndfile/libsndfile-devel.template new file mode 100644 index 00000000000..5fd3b5b6935 --- /dev/null +++ b/srcpkgs/libsndfile/libsndfile-devel.template @@ -0,0 +1,21 @@ +# Template file for 'libsndfile-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run alsa-lib-devel +Add_dependency run libvorbis-devel +Add_dependency run libflac-devel +Add_dependency run libsndfile + +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/lib/*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr +} diff --git a/srcpkgs/libsndfile/libsndfile-progs.template b/srcpkgs/libsndfile/libsndfile-progs.template new file mode 100644 index 00000000000..d875399dea8 --- /dev/null +++ b/srcpkgs/libsndfile/libsndfile-progs.template @@ -0,0 +1,18 @@ +# Template file for 'libsndfile-progs'. +# +short_desc="${sourcepkg} - bundled cmdline apps" +long_desc="${long_desc} + + This package contains the command line applications that use + libsndfile." + +Add_dependency run alsa-lib +Add_dependency run sqlite +Add_dependency run 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 +} diff --git a/srcpkgs/libsndfile/template b/srcpkgs/libsndfile/template new file mode 100644 index 00000000000..d45f7c2783a --- /dev/null +++ b/srcpkgs/libsndfile/template @@ -0,0 +1,22 @@ +# Template file for 'libsndfile' +pkgname=libsndfile +version=1.0.21 +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=7e9083a2551ff347276d82cdb61f2b4f9cd137c0b76433800e991583ded8ea67 +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 run glibc +Add_dependency run libogg +Add_dependency run libvorbis +Add_dependency run libflac +Add_dependency build alsa-lib-devel +Add_dependency build libvorbis-devel ">=1.2.3" +Add_dependency build libflac-devel +Add_dependency build sqlite-devel