diff --git a/srcpkgs/libwavpack b/srcpkgs/libwavpack new file mode 120000 index 0000000000..12a053fba2 --- /dev/null +++ b/srcpkgs/libwavpack @@ -0,0 +1 @@ +wavpack \ No newline at end of file diff --git a/srcpkgs/wavpack-devel b/srcpkgs/wavpack-devel new file mode 120000 index 0000000000..12a053fba2 --- /dev/null +++ b/srcpkgs/wavpack-devel @@ -0,0 +1 @@ +wavpack \ No newline at end of file diff --git a/srcpkgs/wavpack/depends b/srcpkgs/wavpack/depends new file mode 100644 index 0000000000..ff7a03308d --- /dev/null +++ b/srcpkgs/wavpack/depends @@ -0,0 +1,2 @@ +abi_depends=">=4.60.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/wavpack/libwavpack.template b/srcpkgs/wavpack/libwavpack.template new file mode 100644 index 0000000000..626e07a5ce --- /dev/null +++ b/srcpkgs/wavpack/libwavpack.template @@ -0,0 +1,14 @@ +# Template file for 'libwavpack'. +# +short_desc="${short_desc} - shared library" +long_desc="${long_desc} + + This package contains the shared library." + +Add_dependency run glibc + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.so* ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/wavpack/template b/srcpkgs/wavpack/template new file mode 100644 index 0000000000..43eef51714 --- /dev/null +++ b/srcpkgs/wavpack/template @@ -0,0 +1,20 @@ +# Template file for 'wavpack' +pkgname=wavpack +version=4.60.1 +distfiles="http://www.wavpack.com//${pkgname}-${version}.tar.bz2" +build_style=gnu_configure +configure_args="--enable-mmx" +short_desc="An audio codec (lossy and lossless)" +maintainer="Juan RP " +checksum=175ee4f2effd6f51e6ec487956f41177256bf892c2e8e07de5d27ed4ee6888c5 +long_desc=" + WavPack is a completely open audio compression format providing lossless, + high-quality lossy, and a unique hybrid compression mode. Although the + technology is loosely based on previous versions of WavPack, the new version + 4 format has been designed from the ground up to offer unparalleled + performance and functionality." + +subpackages="libwavpack $pkgname-devel" +Add_dependency run glibc +Add_dependency run libwavpack +Add_dependency build pkg-config diff --git a/srcpkgs/wavpack/wavpack-devel.template b/srcpkgs/wavpack/wavpack-devel.template new file mode 100644 index 0000000000..c4c26d5636 --- /dev/null +++ b/srcpkgs/wavpack/wavpack-devel.template @@ -0,0 +1,16 @@ +# Template file for 'wavpack-devel'. +# +short_desc="${short_desc} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run glib-devel + +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 +} diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index f76b6f0e19..190a3bc0bb 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -717,3 +717,4 @@ libwbclient.so libsmbclient samba-devel libjasper.so libjasper jasper-devel librecode.so librecode recode-devel libenca.so libenca enca-devel +libwavpack.so libwavpack wavpack-devel