smlinux/base/libcdio-paranoia/libcdio-paranoia.SMBuild

36 lines
796 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libcdio-paranoia
version=10.2
longversion="+2.0.1"
build=1sml
homepage="https://www.gnu.org/software/libcdio/"
desc="Supporting library to libcdio for CD-ROM access"
requires="libcdio"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version$longversion
tar xf $srcdir/$app-$version$longversion.tar.?z*
cd $app-$version$longversion
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--enable-cpp-progs \
--disable-static \
--disable-example-progs
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
e2ab71d2112c481b3edd7adacc3e35c38b857b04bb0b36776f9c9b54d4aaccf9cacb07307ec3644c7ab70a88e3fc101a846b549b3d8a5ac52561348bfa6aded7 libcdio-paranoia-10.2+2.0.1.tar.lz
"