30 lines
746 B
Text
30 lines
746 B
Text
# Template file for 'lame'
|
|
pkgname=lame
|
|
version=3.99.5
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--enable-nasm --enable-shared"
|
|
hostmakedepends="nasm"
|
|
makedepends="ncurses-devel"
|
|
short_desc="Fast, high quality MP3 encoder"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="LGPL-2.1"
|
|
homepage="http://lame.sourceforge.net"
|
|
distfiles="${SOURCEFORGE_SITE}/lame/lame-${version}.tar.gz"
|
|
checksum=24346b4158e4af3bd9f2e194bb23eb473c75fb7377011523353196b19b9a23ff
|
|
|
|
pre_configure() {
|
|
if [ "${XBPS_TARGET_MACHINE}" = "i686" ]; then
|
|
CFLAGS+=" -msse"
|
|
fi
|
|
}
|
|
|
|
lame-devel_package() {
|
|
depends="lame>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|