mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-java/json: Initial import. Fixes bug 161720.
Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
1
dev-java/json/Manifest
Normal file
1
dev-java/json/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST 20150729.zip 52114 SHA256 62ecc38b4b86a2d864123f1d68ec9e898e250ea2d4c0798fdff52ba79db52c38 SHA512 ad21ce236b9df04482e039e57a16edec4018214aa6e00379573dc7c6977062c759aa21084b70540d35656ebcdb5eaa6525defb88e281ee0e4e7277e32f22755c WHIRLPOOL 393a81436e9441b7f0b6eeacf45323c306ffc623c15bb786c46431893318c128e4ab48b4ac610480897673ced33e7706a65a68107d42be0b58a65379db886624
|
||||
33
dev-java/json/json-20150729.ebuild
Normal file
33
dev-java/json/json-20150729.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Java implementation of the JavaScript Object Notation"
|
||||
HOMEPAGE="http://www.json.org/java/"
|
||||
SRC_URI="https://github.com/douglascrockford/JSON-java/archive/${PV}.zip"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.7"
|
||||
RDEPEND=">=virtual/jre-1.7"
|
||||
|
||||
S="${WORKDIR}/JSON-java-${PV}"
|
||||
JAVA_SRC_DIR="src"
|
||||
|
||||
java_prepare() {
|
||||
chmod a-x *.java || die
|
||||
mkdir -p src || die
|
||||
mv *.java src || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
dodoc README || die
|
||||
}
|
||||
17
dev-java/json/metadata.xml
Normal file
17
dev-java/json/metadata.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
<longdescription lang="en">
|
||||
JSON (JavaScript Object Notation) is a lightweight data-interchange format.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">douglascrockford/JSON-java</remote-id>
|
||||
</upstream>
|
||||
<maintainer>
|
||||
<email>chewi@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>monsieurp@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user