smlinux/gtk/cairomm/cairomm.SMBuild

35 lines
783 B
Text
Executable file

app=cairomm
version=1.13.1
build=1sml
homepage="http://cairographics.org/cairomm/"
download="https://cairographics.org/releases/cairomm-1.13.1.tar.gz"
desc="C++ bindings for Cairo"
requires="cairo libsigcpp "
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--sysconfdir=/etc
for i in tests docs examples ; do
printf 'all:\n\ttrue\ninstall:\n\ttrue\nclean:\n\ttrue\n' > "$i"/Makefile
done
make $NUMNUMJOBS
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
f3002d35e29bb06d04600127de42718eaa37e1352c97c6516efbec5d43b9f36767d61c4cd460e3926245d20f2071f604c46543662e68bf198c3de70e09c14c85 cairomm-1.13.1.tar.lz
"