smlinux/base/gloox/gloox.SMBuild
2022-01-28 23:06:05 +05:30

36 lines
No EOL
903 B
Text
Executable file

APP=gloox
VERSION=1.0.22
BUILD=1sml
HOMEPAGE='https://camaya.net/gloox/'
DOWNLOAD='https://camaya.net/download/gloox-1.0.22.tar.bz2'
DESC="Rock-solid, full-featured Jabber/XMPP client library in C++"
REQUIRES="gcc-libs libidn gnutls"
build() {
mkandenterbuilddir
rm -rf $APP-$VERSION
tar xf $SRCDIR/$APP-$VERSION.tar.?z*
cd $APP-$VERSION
fixbuilddirpermissions
patch -p1 < $SRCDIR/gloox-musl.patch
./configure \
--prefix="" \
--sysconfdir=/etc \
--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
"