smlinux/gtk/libsigcpp/libsigcpp.SMBuild

40 lines
1,015 B
Text
Executable file

# For some reason, SSB fails to install the resulting package because of
# "++". So we rename it.
app=libsigcpp
ALTERNAME=libsigc++
version=2.9.3
build=1sml
homepage="https://libsigcplusplus.github.io/libsigcplusplus/"
download="https://download.gnome.org/sources/libsigc++/2.9/libsigc%2B%2B-2.9.3.tar.xz"
desc="Typesafe callback system for standard C++"
requires="gcc-libs"
build() {
mkandenterbuilddir
rm -rf $ALTERNAME-$version
tar xf $srcdir/$ALTERNAME-$version.tar.?z
cd $ALTERNAME-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--sysconfdir=/etc \
--disable-silent-rules \
--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="
43ed5de8a0418854d6cf0cf8609e54dae93ad3ffec1ff03fa5b102d14b0ee573976bd1421211e8b4f2a0e4802bed31aecd0c97548f6ecec6eda2e614a58b08d4 libsigc++-2.9.3.tar.lz
"