smlinux/gtk/libgsf/libgsf.SMBuild

37 lines
920 B
Text
Executable file

APP=libgsf
VERSION=1.14.45
BUILD=1sml
HOMEPAGE="https://gitlab.gnome.org/GNOME/libgsf.git"
DOWNLOAD="https://gitlab.gnome.org/GNOME/libgsf/-/archive/LIBGSF_1_14_45/libgsf-LIBGSF_1_14_45.tar.bz2"
DESC="An extensible I/O abstraction library for dealing with structured file formats"
REQUIRES="bzip2 libxml2 unzip perl-modules gdk-pixbuf xz"
build() {
mkandenterbuilddir
rm -rf $APP-$VERSION
tar xf $SRCDIR/$APP-$VERSION.tar.?z*
cd $APP-$VERSION
fixbuilddirpermissions
./configure \
--prefix="" \
--disable-static \
--disable-nls \
--with-bz2
for i in po ; do
printf 'all:\n\ttrue\ninstall:\n\ttrue\nclean:\n\ttrue\n' > "$i"/Makefile
done
make
make install DESTDIR=$PKG
cp COPYING* $PKGDOCS/
mkfinalpkg
}
SHA512SUMS="
78312e73771ca64375d713e9890b6492ea573d75a3742d4e1ca189fea4ff2292a597462137c11a3451205c99c661bab8cc59bd31a482d21eedb9e0a1be161b96 libgsf-1.14.45.tar.lz
"