smlinux/base/libpsl/libpsl.SMBuild

34 lines
777 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libpsl
version=0.21.1
build=1sml
homepage="https://github.com/rockdaboot/libpsl"
download="https://github.com/rockdaboot/libpsl/releases/download/0.21.1/libpsl-0.21.1.tar.gz"
desc="Library for accessing and resolving uncommon domain name suffixes"
requires="python3"
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="
84bc8eced25acb85476aab3fc450f01c1a99ee4166a0c4cb60a016e8776cf440e5ccb6911ced95563efd9ca068dcca9a308c4b9e3ff5fbd761cc8bce1dd2f726 libpsl-0.21.1.tar.lz
"