smlinux/gtk/gtkmm2/gtkmm2.SMBuild

35 lines
769 B
Text
Executable file

app=gtkmm2
version=2.24.5
build=1sml
homepage="http://www.gtkmm.org/"
download="https://download.gnome.org/sources/gtkmm/2.24/gtkmm-2.24.5.tar.xz"
desc="C++ bindings for GTK+ 2"
requires="gtk2 atkmm pangomm "
build() {
mkandenterbuilddir
rm -rf gtkmm-$version
tar xf $srcdir/gtkmm-$version.tar.?z
cd gtkmm-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--sysconfdir=/etc
for i in docs tests demos ; 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="
5609d8aad7d8728eff28368aa016b7284b0440509dafb580c54a4afbf72acbe4c1ccc6633b54c9fc3a20fafcdddadf58b3b2a6da14da8150d120311bc1f1d405 gtkmm-2.24.5.tar.lz
"