void-packages/srcpkgs/lame/template

31 lines
746 B
Plaintext
Raw Normal View History

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