smlinux/gtk/librsvg/librsvg.SMBuild

39 lines
872 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=librsvg
version=2.40.20
build=1sml
homepage="https://wiki.gnome.org/Projects/LibRsvg"
download="https://download-fallback.gnome.org/sources/librsvg/2.40/librsvg-$version.tar.xz"
desc="SVG rendering library"
requires="libcroco dejavu-fonts-ttf vala pango gdk-pixbuf"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix="" \
--disable-static \
--disable-tools \
--disable-gtk-doc-html
touch s-enum-types-h
touch s-enum-types-c
make
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
fea3cdd573d65ccb48a3477ad150689a88ebd408f29beb164d351c6bc1604b5882b9d780d6fc21a21621c92da9d119a31f8b82b48ce16587405c743a452270a7 librsvg-2.40.20.tar.lz
"