Package-Manager: Portage-2.3.62, Repoman-2.3.17
Signed-off-by: Thomas Sachau <tommy@gentoo.org>
DIST NativeThread-0_pre20080330.tar.bz2 2707 BLAKE2B d1b97be9b8b6ae33f716202b7acb246101175d2445a9f92fbada99969471ae06495f94cd03b9de9666af11e1e36506ba979f19707871c6e615dfc8887eb8171a SHA512 c6c4b26e82c02cb4039718e8085f54fad3d2492b3905dbd91b8798c1140a819cf1fab1b8346ab2524e0619d2921b4ae9de6ffa9c18138bccd965e67c28b05ed7
+DIST NativeThread-0_pre20190914.tar.bz2 3163 BLAKE2B b16aa3ceb3ea18ea13962e53d68fa2eac1854b9141055de251eedf0c9a2cc284e68f3f2601f49d1ac1d7fcef9fc502bf1877161fdb43b1b941a3b9983829e4a9 SHA512 ff0902b874c72f0e15f35374d0a409271ba236343cf24bc708bc7a72677a9a582013bfb7a1e8fdd2aabb741bb5dc04dc901ff4c09841a85324194644d40c58e6
--- /dev/null
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils flag-o-matic java-pkg-2 multilib toolchain-funcs
+
+DESCRIPTION="NativeThread for priorities on linux for freenet"
+HOMEPAGE="http://www.freenetproject.org/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=net-p2p/freenet-0.7
+ >=virtual/jdk-1.4"
+RDEPEND=""
+
+S="${WORKDIR}"
+
+src_compile() {
+ append-flags -fPIC
+ tc-export CC
+ emake || die
+}
+
+src_install() {
+ dolib.so lib${PN}.so || die
+ dosym lib${PN}.so /usr/$(get_libdir)/libnative.so || die
+}