diff --git a/srcpkgs/libmodplug-devel b/srcpkgs/libmodplug-devel new file mode 120000 index 00000000000..3f66eebdd0f --- /dev/null +++ b/srcpkgs/libmodplug-devel @@ -0,0 +1 @@ +libmodplug \ No newline at end of file diff --git a/srcpkgs/libmodplug/depends b/srcpkgs/libmodplug/depends new file mode 100644 index 00000000000..f6edb4300c0 --- /dev/null +++ b/srcpkgs/libmodplug/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.8.8" +api_depends="${abi_depends}" diff --git a/srcpkgs/libmodplug/libmodplug-devel.template b/srcpkgs/libmodplug/libmodplug-devel.template new file mode 100644 index 00000000000..c9dd8d402f2 --- /dev/null +++ b/srcpkgs/libmodplug/libmodplug-devel.template @@ -0,0 +1,16 @@ +# Template file for 'libmodplug-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 libmodplug + +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/libmodplug/template b/srcpkgs/libmodplug/template new file mode 100644 index 00000000000..fcf42cd2618 --- /dev/null +++ b/srcpkgs/libmodplug/template @@ -0,0 +1,19 @@ +# Template file for 'libmodplug' +pkgname=libmodplug +version=0.8.8 +distfiles="${SOURCEFORGE_SITE}/modplug-xmms/$pkgname-$version.tar.gz" +build_style=gnu_configure +short_desc="A MOD playing library" +maintainer="Juan RP " +checksum=81add644058f1528003c8537f46c6cac268f2dc59c3c21286c24849d70d48cff +long_desc=" + libmodplug renders mod music files as raw audio data, for playing or + conversion. libmodplug is based on the fast and high quality mod playing code + written and released to the public domain by Olivier Lapicque. mod, .s3m, .it, + .xm, and a number of lesser-known formats are supported. Optional features + include high-quality resampling, bass expansion, surround and reverb." + +subpackages="$pkgname-devel" +Add_dependency run libgcc +Add_dependency run glibc +Add_dependency run libstdc++ diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 36ab2513ebb..29fd6a1453f 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -720,3 +720,4 @@ libenca.so libenca enca-devel libwavpack.so libwavpack wavpack-devel libvala-0.10.so libvala vala-devel libSDL_net-1.2.so SDL_net SDL_net-devel +libmodplug.so libmodplug libmodplug-devel