libmad: disable static, set -devel noarch.

This commit is contained in:
Juan RP 2012-10-11 11:07:11 +02:00
parent 9f653299b8
commit c5710fe8ab
2 changed files with 9 additions and 14 deletions

View File

@ -1,18 +1,14 @@
# Template file for 'libmad-devel'.
#
depends="glibc-devel libmad"
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."
do_install()
{
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
#mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
}

View File

@ -1,12 +1,14 @@
# Template file for 'libmad'
pkgname=libmad
version=0.15.1b
revision=3
distfiles="${SOURCEFORGE_SITE}/mad/$pkgname-$version.tar.gz"
revision=4
subpackages="$pkgname-devel"
build_style=gnu-configure
configure_args="--disable-static"
makedepends="automake"
short_desc="High-quality MPEG audio decoder"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${SOURCEFORGE_SITE}/mad/$pkgname-$version.tar.gz"
checksum=bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690
long_desc="
MAD (libmad) is a high-quality MPEG audio decoder. It currently
@ -31,9 +33,6 @@ long_desc="
resolution to increase the audible dynamic range through the use
of dithering or noise shaping."
subpackages="$pkgname-devel"
pre_configure()
{
cd ${wrksrc} && autoconf || return 1
pre_configure() {
autoconf
}