libmad: cross build and dbg support.
This commit is contained in:
parent
c2f75da090
commit
f5d66c9a2f
|
@ -1,14 +1,10 @@
|
|||
# Template file for 'libmad-devel'.
|
||||
#
|
||||
noarch=yes
|
||||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
short_desc="${short_desc} - development files"
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
vmove usr/include usr
|
||||
vmove "usr/lib/*.a" usr/lib
|
||||
vmove usr/lib/pkgconfig usr/lib
|
||||
}
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
# Template file for 'libmad'
|
||||
pkgname=libmad
|
||||
version=0.15.1b
|
||||
revision=4
|
||||
revision=5
|
||||
subpackages="$pkgname-devel"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static"
|
||||
makedepends="automake"
|
||||
makedepends="automake pkg-config"
|
||||
short_desc="High-quality MPEG audio decoder"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.underbit.com/products/mad/"
|
||||
license="GPL-2"
|
||||
distfiles="${SOURCEFORGE_SITE}/mad/$pkgname-$version.tar.gz"
|
||||
checksum=bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690
|
||||
long_desc="
|
||||
|
@ -34,5 +35,6 @@ long_desc="
|
|||
of dithering or noise shaping."
|
||||
|
||||
pre_configure() {
|
||||
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
|
||||
autoconf
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue