void-packages/srcpkgs/lame/template
2017-04-14 13:08:11 +02:00

30 lines
756 B
Bash

# 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@voidlinux.eu>"
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%%-musl}" = "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"
}
}