smlinux/gtk/cairomm/cairomm.SMBuild

38 lines
842 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=cairomm
version=1.13.1
build=1sml
homepage="http://cairographics.org/cairomm/"
download="https://cairographics.org/releases/cairomm-$version.tar.gz"
desc="C++ bindings for Cairo"
requires="cairo libsigcpp"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix="" \
--disable-documentation
#for i in tests docs examples ; 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="
f3002d35e29bb06d04600127de42718eaa37e1352c97c6516efbec5d43b9f36767d61c4cd460e3926245d20f2071f604c46543662e68bf198c3de70e09c14c85 cairomm-1.13.1.tar.lz
"