smlinux/base/lame/lame.SMBuild

37 lines
818 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=lame
version=3.100
build=1sml
homepage="https://lame.sourceforge.io/"
download="https://sourceforge.net/projects/lame/files/lame/$version/lame-$version.tar.gz"
desc="MP3 compression and creation library"
requires="netbsd-curses nasm"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
LIBS="-lcurses -lterminfo" \
./configure \
--prefix=/usr \
--enable-shared \
--enable-nasm \
--disable-static
make
make install DESTDIR=$pkg
cp COPYING LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
ebb3357d5366da40a4dc076ddc3ce9fa355be7f6ea7d505536d20a6049a4fc798c7952666fd2b79b2989486acd48c91e553eddb29fa21ab5542e16e1b01c2287 lame-3.100.tar.lz
"