2009-12-30 23:06:02 +01:00
|
|
|
# Template file for 'lame'
|
|
|
|
pkgname=lame
|
2014-09-08 14:59:04 +02:00
|
|
|
version=3.99.5
|
2014-09-08 15:38:47 +02:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2009-12-30 23:06:02 +01:00
|
|
|
configure_args="--enable-nasm --enable-shared"
|
2014-02-20 16:28:45 +01:00
|
|
|
hostmakedepends="nasm"
|
2013-03-18 21:19:17 +01:00
|
|
|
makedepends="ncurses-devel"
|
2009-12-30 23:06:02 +01:00
|
|
|
short_desc="Fast, high quality MP3 encoder"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-12-02 10:17:06 +01:00
|
|
|
license="LGPL-2.1"
|
2013-03-18 21:19:17 +01:00
|
|
|
homepage="http://lame.sourceforge.net"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/lame/lame-${version}.tar.gz"
|
2014-09-08 14:59:04 +02:00
|
|
|
checksum=24346b4158e4af3bd9f2e194bb23eb473c75fb7377011523353196b19b9a23ff
|
2013-04-13 10:15:49 +02:00
|
|
|
|
2014-09-08 15:53:43 +02:00
|
|
|
pre_configure() {
|
|
|
|
if [ "${XBPS_TARGET_MACHINE}" = "i686" ]; then
|
|
|
|
CFLAGS+=" -msse"
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
lame-devel_package() {
|
2014-02-20 16:28:45 +01:00
|
|
|
depends="lame>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2014-02-20 16:28:45 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|