pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toxcore: Import toxcore as wip/toxcore.



Module Name:	pkgsrc-wip
Committed By:	Mateusz Poszwa <old4%o2.pl@localhost>
Pushed By:	f8l
Date:		Tue Dec 29 02:53:36 2015 +0100
Changeset:	a6f7443c7f0d05f9adb61b47fa9d1b63122e5a43

Modified Files:
	Makefile
Added Files:
	toxcore/DESCR
	toxcore/Makefile
	toxcore/PLIST
	toxcore/buildlink3.mk
	toxcore/distinfo

Log Message:
toxcore: Import toxcore as wip/toxcore.

Toxcore is a p2p network level libarary that provides encrpyted
communication and data transfer between peers who can find eachother
anonymously through a DHT. The peers are identified with numbers
which contain their public key to be used for message encryption.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a6f7443c7f0d05f9adb61b47fa9d1b63122e5a43

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile              |  1 +
 toxcore/DESCR         |  4 ++++
 toxcore/Makefile      | 34 ++++++++++++++++++++++++++++++++++
 toxcore/PLIST         | 13 +++++++++++++
 toxcore/buildlink3.mk | 16 ++++++++++++++++
 toxcore/distinfo      |  1 +
 6 files changed, 69 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index faa8635..3fb06d9 100755
--- a/Makefile
+++ b/Makefile
@@ -3823,6 +3823,7 @@ SUBDIR+=	tor-dev
 SUBDIR+=	torcs
 SUBDIR+=	torsocks
 SUBDIR+=	tortunnel
+SUBDIR+=	toxcore
 SUBDIR+=	tpp
 SUBDIR+=	tqsllib
 SUBDIR+=	tr2latex
diff --git a/toxcore/DESCR b/toxcore/DESCR
new file mode 100644
index 0000000..8049373
--- /dev/null
+++ b/toxcore/DESCR
@@ -0,0 +1,4 @@
+Toxcore is a p2p network level libarary that provides encrpyted
+communication and data transfer between peers who can find eachother
+anonymously through a DHT. The peers are identified with numbers
+which contain their public key to be used for message encryption.
diff --git a/toxcore/Makefile b/toxcore/Makefile
new file mode 100644
index 0000000..eefcc09
--- /dev/null
+++ b/toxcore/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD$
+
+DISTNAME=	toxcore-0
+CATEGORIES=	chat
+MASTER_SITES=	${MASTER_SITE_GITHUB:=irungentoo/}
+
+GIT_REPOSITORIES=	toxcore
+GIT_REPO.toxcore=	http://github.com/irungentoo/toxcore.git
+#GIT_BRANCH.toxcore=	new_av
+WRKSRC=	${WRKDIR}/toxcore
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://tox.chat/
+COMMENT=	Tox protocol library
+LICENSE=	gnu-gpl-v3
+
+GNU_CONFIGURE=	yes
+USE_TOOLS+=	autoconf automake autoreconf
+USE_TOOLS+=	pkg-config
+USE_LIBTOOL=	yes
+USE_LANGUAGES+=	c
+
+#SUBST_FILES.autotools=	autogen.sh
+
+pre-configure:
+	cd ${WRKSRC} && ./autogen.sh
+
+.include "../../audio/libopus/buildlink3.mk"
+#.include "../../devel/check/buildlink3.mk"
+.include "../../multimedia/libvpx/buildlink3.mk"
+.include "../../security/libsodium/buildlink3.mk"
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/toxcore/PLIST b/toxcore/PLIST
new file mode 100644
index 0000000..71fedc8
--- /dev/null
+++ b/toxcore/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD$
+bin/DHT_bootstrap
+include/tox/tox.h
+include/tox/tox_old.h
+include/tox/toxav.h
+include/tox/toxdns.h
+include/tox/toxencryptsave.h
+lib/libtoxav.la
+lib/libtoxcore.la
+lib/libtoxdns.la
+lib/libtoxencryptsave.la
+lib/pkgconfig/libtoxav.pc
+lib/pkgconfig/libtoxcore.pc
diff --git a/toxcore/buildlink3.mk b/toxcore/buildlink3.mk
new file mode 100644
index 0000000..22033d5
--- /dev/null
+++ b/toxcore/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	toxcore
+
+.if !defined(TOXCORE_BUILDLINK3_MK)
+TOXCORE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.toxcore+=	toxcore>=0
+BUILDLINK_PKGSRCDIR.toxcore?=	../../wip/toxcore
+
+.include "../../audio/libopus/buildlink3.mk"
+.include "../../multimedia/libvpx/buildlink3.mk"
+.include "../../security/libsodium/buildlink3.mk"
+.endif	# TOXCORE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-toxcore
diff --git a/toxcore/distinfo b/toxcore/distinfo
new file mode 100644
index 0000000..c641c55
--- /dev/null
+++ b/toxcore/distinfo
@@ -0,0 +1 @@
+$NetBSD$


Home | Main Index | Thread Index | Old Index