diff --git a/common/shlibs b/common/shlibs index 2c17270473..f48399d8ca 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1701,3 +1701,4 @@ libfcgi.so.0 fcgi-2.4.0_2 libdshconfig.so.1 libdshconfig-0.20.13_1 libpar2.so.1 libpar2-0.4_1 libsodium.so.13 libsodium-0.7.0_1 +libstrophe.so.0 libstrophe-0.8.6_1 diff --git a/srcpkgs/libstrophe-devel b/srcpkgs/libstrophe-devel new file mode 120000 index 0000000000..b78c17ce6c --- /dev/null +++ b/srcpkgs/libstrophe-devel @@ -0,0 +1 @@ +libstrophe \ No newline at end of file diff --git a/srcpkgs/libstrophe/template b/srcpkgs/libstrophe/template new file mode 100644 index 0000000000..d219e641c4 --- /dev/null +++ b/srcpkgs/libstrophe/template @@ -0,0 +1,28 @@ +# Template file for 'libstrophe' +pkgname=libstrophe +version=0.8.6 +revision=1 +build_style=gnu-configure +hostmakedepends="automake libtool pkg-config git" +makedepends="expat-devel zlib-devel libressl-devel" +short_desc="A minimal XMPP library written in C" +maintainer="Juan RP " +license="GPL-3" +homepage="http://strophe.im/libstrophe/" + +do_fetch() { + git clone git://github.com/strophe/libstrophe ${pkgname}-${version} +} +pre_configure() { + NOCONFIGURE=1 ./bootstrap.sh +} + +libstrophe-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.a + vmove usr/lib/*.so + } +}