2009-12-30 01:02:40 +01:00
|
|
|
# Template file for 'libmad'
|
|
|
|
pkgname=libmad
|
|
|
|
version=0.15.1b
|
2014-02-20 18:09:35 +01:00
|
|
|
revision=7
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="automake pkg-config"
|
2009-12-30 01:02:40 +01:00
|
|
|
short_desc="High-quality MPEG audio decoder"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-03-21 19:55:43 +01:00
|
|
|
homepage="http://www.underbit.com/products/mad/"
|
|
|
|
license="GPL-2"
|
2012-10-11 11:07:11 +02:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/mad/$pkgname-$version.tar.gz"
|
2009-12-30 01:02:40 +01:00
|
|
|
checksum=bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690
|
|
|
|
|
2012-10-11 11:07:11 +02:00
|
|
|
pre_configure() {
|
2013-03-21 19:55:43 +01:00
|
|
|
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
|
2012-10-11 11:07:11 +02:00
|
|
|
autoconf
|
2009-12-30 01:02:40 +01:00
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libmad-devel_package() {
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2014-02-20 18:09:35 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|