diff --git a/srcpkgs/libmpcdec-devel b/srcpkgs/libmpcdec-devel new file mode 120000 index 00000000000..618973a9208 --- /dev/null +++ b/srcpkgs/libmpcdec-devel @@ -0,0 +1 @@ +libpmcdec \ No newline at end of file diff --git a/srcpkgs/libmpcdec/depends b/srcpkgs/libmpcdec/depends new file mode 100644 index 00000000000..4bfed7c0bf8 --- /dev/null +++ b/srcpkgs/libmpcdec/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.2.6" +api_depends="${abi_depends}" diff --git a/srcpkgs/libmpcdec/libmpcdec-devel.template b/srcpkgs/libmpcdec/libmpcdec-devel.template new file mode 100644 index 00000000000..a08a22bea34 --- /dev/null +++ b/srcpkgs/libmpcdec/libmpcdec-devel.template @@ -0,0 +1,17 @@ +# Template file for 'libmpcdec-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run glibc-devel +Add_dependency run libmpcdec + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/libmpcdec/template b/srcpkgs/libmpcdec/template new file mode 100644 index 00000000000..8c7d21a8a12 --- /dev/null +++ b/srcpkgs/libmpcdec/template @@ -0,0 +1,20 @@ +# Template file for 'libmpcdec' +pkgname=libmpcdec +version=1.2.6 +distfiles="http://files.musepack.net/source/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="Portable Musepack decoder library" +maintainer="Juan RP " +checksum=4bd54929a80850754f27b568d7891e1e3e1b8d2f208d371f27d1fda09e6f12a8 +long_desc=" + Musepack is an audio compression format with a strong emphasis on high + quality. It is not lossless, but it is designed for transparency, so that + you won't be able to hear differences between the original wave file and + the much smaller MPC file. + + It is based on the MPEG-1 Layer-2 / MP2 algorithms, but since 1997 it has + rapidly developed and vastly improved and is now at an advanced stage in + which it contains heavily optimized and patentless code." + +subpackages="$pkgname-devel" +Add_dependency run glibc