smlinux/base/gloox/gloox.SMBuild

38 lines
943 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=gloox
version=1.0.22
build=1sml
homepage="https://camaya.net/gloox/"
download="https://camaya.net/download/gloox-$version.tar.bz2"
desc="Rock-solid, full-featured Jabber/XMPP client library in C++"
requires="gcc-libs libidn gnutls"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/gloox-musl.patch
}
build() {
./configure \
--prefix="" \
--enable-shared \
--disable-static
make
make install DESTDIR=$pkg
cp LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
4125216628b99820eb1ee333c641d6db55944465bf97f8b6060da72027d2e76e6c9758cc3383c159780eef778fab5a6f5203b4e3d71c1a566574608e00116e62 gloox-1.0.22.tar.lz
b30ddcfea7817a4426ad38febe9f16f1db2d4552710d7e02dbe69674ab6a06f9b26678f3f2a0d07bf6f08f16724387fff2b1b3deec76bdd6742b270a3366c8de gloox-musl.patch
"