smlinux/base/libogg/libogg.SMBuild

33 lines
634 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libogg
version=1.3.4
build=1sml
homepage="https://xiph.org/ogg/"
desc="Library for manipulating ogg bitstreams"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--disable-static
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
76fd0af0708dda9c84550945d314eb002f141d941dcf71a6942dd76d2f62a6eebfaa6469f1f5807bb69976181cd9a0f3076ddbd5c43e7f08217b1102d784aafc libogg-1.3.4.tar.lz
"