smlinux/base/libcroco/libcroco.SMBuild

33 lines
678 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libcroco
version=0.6.13
build=1sml
homepage="https://gitlab.gnome.org/GNOME/libcroco"
desc="CSS2 parsing and manipulation library"
requires="zlib pcre glib libxml2 xz"
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="
a339be95dde686c8edfd474d9fb84865d31719e7d3a4e758177bba1c83eac5e3a53ee07f6e01c98084467e29e316bcc1749b6ee37dbe0739cf7972b72951a63e libcroco-0.6.13.tar.lz
"