void-packages/srcpkgs/lame/template

31 lines
756 B
Bash

# Template file for 'lame'
pkgname=lame
version=3.100
revision=1
build_style=gnu-configure
configure_args="--enable-nasm --enable-shared"
hostmakedepends="nasm"
makedepends="ncurses-devel"
short_desc="Fast, high quality MP3 encoder"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1"
homepage="http://lame.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/lame/lame-${version}.tar.gz"
checksum=ddfe36cab873794038ae2c1210557ad34857a4b6bdc515785d1da9e175b1da1e
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"
}
}