smlinux/gtk/libsigcpp/libsigcpp.SMBuild
PktSurf 9c25332e0c * Fixed URL in extra/abiword
* Upgraded extra/gthumb to 3.11.2
* Fixed variables in extra/{libass,rdesktop,scrcpy,sdl,sdl2}
* Fixed variables in gtk/{gnome-icon-theme,gst-plugins-*,libsigcpp,pygobject3}
* Discarded old CHKSUM512 files from gtk/pygobject3
* Added a fix to remove a gcc option that caused net/hexchat to fail
2022-08-06 14:31:21 +05:30

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
"