diff --git a/common/shlibs b/common/shlibs index c7150ee126b..d53594f6d28 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1961,3 +1961,7 @@ libprotobuf-c.so.1 protobuf-c-1.1.0_1 libutf8proc.so.1 libutf8proc-1.1.6_1 libnsutils.so.0 libnsutils-0.0.1_1 libfilteraudio.so.0 filteraudio-git-20150313_1 +libtoxcore.so.0 toxcore-git-20150313_1 +libtoxencryptsave.so.0 toxcore-git-20150313_1 +libtoxdns.so.0 toxcore-git-20150313_1 +libtoxav.so.0 toxcore-git-20150313_1 diff --git a/srcpkgs/toxcore-devel-git b/srcpkgs/toxcore-devel-git new file mode 120000 index 00000000000..d7e4cbd7eb9 --- /dev/null +++ b/srcpkgs/toxcore-devel-git @@ -0,0 +1 @@ +toxcore-git \ No newline at end of file diff --git a/srcpkgs/toxcore-git/template b/srcpkgs/toxcore-git/template new file mode 100644 index 00000000000..dc26ce6d337 --- /dev/null +++ b/srcpkgs/toxcore-git/template @@ -0,0 +1,31 @@ +# Template file for 'toxcore-git' +pkgname="toxcore-git" +version="20150313" +revision=1 +short_desc="Encrypted peer-to-peer instant messenger protocol library" +maintainer="Stefan Mühlinghaus " +license="GPL-3" +homepage="https://tox.im" +makedepends="libsodium-devel opus-devel libvpx-devel" +hostmakedepends="git autoconf automake libtool pkg-config" +build_style="gnu-configure" + +do_fetch() { + git clone https://github.com/irungentoo/toxcore.git ${wrksrc} +} + +pre_configure() { + ./autogen.sh +} + +# Development package +toxcore-devel-git_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.a + vmove usr/lib/pkgconfig + } +} +