libmodplug: cross build and dbg support.

This commit is contained in:
Juan RP 2013-03-21 19:58:41 +01:00
parent f5d66c9a2f
commit 3762b7c0d1
2 changed files with 9 additions and 14 deletions

View File

@ -1,15 +1,10 @@
# Template file for 'libmodplug-devel'.
#
depends="glibc-devel libmodplug"
depends="libmodplug>=${version}"
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
do_install() {
vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
vmove usr/lib/pkgconfig usr/lib
}

View File

@ -1,13 +1,15 @@
# Template file for 'libmodplug'
pkgname=libmodplug
version=0.8.8.3
distfiles="${SOURCEFORGE_SITE}/modplug-xmms/$pkgname-$version.tar.gz"
revision=3
subpackages="$pkgname-devel"
build_style=gnu-configure
revision=2
configure_args="--enable-static"
short_desc="A MOD playing library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://modplug-xmms.sourceforge.net/"
license="Public domain"
distfiles="${SOURCEFORGE_SITE}/modplug-xmms/$pkgname-$version.tar.gz"
checksum=0d52a259e85c4f50491d66128d7c476bc67a44d3930b965014954289c0c3f4a5
long_desc="
libmodplug renders mod music files as raw audio data, for playing or
@ -15,5 +17,3 @@ long_desc="
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"