smlinux/gtk/librsvg/librsvg.SMBuild

37 lines
839 B
Text
Executable file

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-2.40.20.tar.xz"
DESC="SVG rendering library"
REQUIRES="libcroco dejavu-fonts-ttf vala pango gdk-pixbuf "
build() {
mkandenterbuilddir
rm -rf $APP-$VERSION
tar xf $SRCDIR/$APP-$VERSION.tar.?z*
cd $APP-$VERSION
fixbuilddirpermissions
./configure \
--prefix="" \
--disable-static \
--disable-silent-rules \
--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
"