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