void-packages/srcpkgs/lame/template

31 lines
746 B
Text
Raw Normal View History

# 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
build_style=gnu-configure
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"
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
2014-09-08 13:53:43 +00:00
pre_configure() {
if [ "${XBPS_TARGET_MACHINE}" = "i686" ]; then
CFLAGS+=" -msse"
fi
}
lame-devel_package() {
2014-02-20 15:28:45 +00:00
depends="lame>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
2014-02-20 15:28:45 +00:00
vmove "usr/lib/*.so"
}
}