summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2016-03-19 00:20:06 -0500
committerDoug Goldstein <cardoe@gentoo.org>2016-03-21 16:49:22 -0500
commit51d9a01c1ab7a7a8b2c97a400fe785c57806d13b (patch)
tree3194b44706c6524794f08125b9a6db972464c0d7 /dev-libs/yajl
parentdev-libs/yajl: bump latest legacy yajl (diff)
downloadgentoo-51d9a01c1ab7a7a8b2c97a400fe785c57806d13b.tar.gz
gentoo-51d9a01c1ab7a7a8b2c97a400fe785c57806d13b.tar.bz2
gentoo-51d9a01c1ab7a7a8b2c97a400fe785c57806d13b.zip
dev-libs/yajl: version bump
Bump to the latest 2.x stable version. Set sub-SLOT to 2 to help with dependencies that need to be rebuilt. Update license to ISC, which is what upstream has used since 2.0.0. Package-Manager: portage-2.2.26 Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
Diffstat (limited to 'dev-libs/yajl')
-rw-r--r--dev-libs/yajl/Manifest1
-rw-r--r--dev-libs/yajl/yajl-2.1.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/yajl/Manifest b/dev-libs/yajl/Manifest
index 2672c9b3a86d..db34c29209d1 100644
--- a/dev-libs/yajl/Manifest
+++ b/dev-libs/yajl/Manifest
@@ -2,3 +2,4 @@ DIST yajl-1.0.11.tar.gz 53705 SHA256 1e98e03b927a8ec466baea527647f5e243f56f71bde
DIST yajl-1.0.12.tar.gz 54819 SHA256 df27bb20903f68e40c62cdc616a37816d9b8f2bbe943900c5dad16a20dc5d326 SHA512 a2ea24ed011cef79f98dca51723fe10ee2461f7caaedf7bc8a323132335cd61b052a40e0cda8d913707a9d1fb6e9085b4efeaf1d9b201c9c0e9122ba41fd0eeb WHIRLPOOL 10ea1509bac92885a2a5efa54978b63fcd4be4896c5796d59e3eae9695b6ab5fdaceb42a432f56b0b7164cdc30e0f8b13f91c5fb80b9a19323e8fb49d1e6c4e9
DIST yajl-2.0.3.tar.gz 82544 SHA256 606ee384f288b6ad4f17c9c57b8868f8db525d542790fd1071139c9636e71952 SHA512 cef6e895ad169aac9e729f8bde006367d39456c6c1a62e1984d097f2f237cc5e317ddfef4d90c36242f772c867cee220082313f6d324a57e58a56d3e51ae0f85 WHIRLPOOL e9f3b37358d904f3e0aadad256fa7829b97170af5f9c3c3605c54f216cd1ac7958a281eb39f7e5cf5a0af2dce6120f900c3489ac50eeaef154b7ee4c50dd2d8b
DIST yajl-2.0.4.tar.gz 82814 SHA256 c19b9691cf15f22e74d903cd06ac9ba5e1e216e6a1b82bfe787c3b48a25bc118 SHA512 ab99fdd6b7e6f7add5530fff2d3ac6171ed3698267016d6cd23449742d36c9d848f065ba920dc2abb934488239e11e4ceda571c05fa472ab5d3f0480e9033a13 WHIRLPOOL ed821d07f5c06e4722d9de9648d4929fe6a5bcc13d2bd3bb6bcddce60a9817612d59f14963cc46b43b002345fc56813230194d997098de77f4d9075cf64dd85b
+DIST yajl-2.1.0.tar.gz 84039 SHA256 510a13e0be57cd4ba99e60ac806a3635854af51316d3131d3742a90298ccde38 SHA512 671c06081e01584d170b614dc0685f49c6d7448b673d8ed99749ce4e0ca73875af9f62df7787b919ceaecab213668ac1d2a5800b6831731ec146353552f36985 WHIRLPOOL f4abfe816062eeffc74a6e661a541c769432fb4cbf9f67f464ee3bea0c5ff9926fd5ea957cfa3b09cc5cef771474e8de0d8855806b19c614693c799a7bfba731
diff --git a/dev-libs/yajl/yajl-2.1.0.ebuild b/dev-libs/yajl/yajl-2.1.0.ebuild
new file mode 100644
index 000000000000..db8d0b9d31dd
--- /dev/null
+++ b/dev-libs/yajl/yajl-2.1.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils cmake-multilib vcs-snapshot
+
+DESCRIPTION="Small event-driven (SAX-style) JSON parser"
+HOMEPAGE="https://lloyd.github.com/yajl/"
+SRC_URI="https://github.com/lloyd/yajl/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0/2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="static-libs"
+
+src_prepare() {
+ epatch_user
+
+ multilib_copy_sources
+}
+
+src_test() {
+ run_test() {
+ cd "${BUILD_DIR}"/test
+ ./run_tests.sh ./yajl_test || die
+ }
+ multilib_parallel_foreach_abi run_test
+}
+
+src_install() {
+ cmake-multilib_src_install
+
+ use static-libs || \
+ find "${D}" -name libyajl_s.a -delete
+}