summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-cpp/libjsonpp/Manifest2
-rw-r--r--dev-cpp/libjsonpp/libjsonpp-996.ebuild29
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-cpp/libjsonpp/Manifest b/dev-cpp/libjsonpp/Manifest
index 02e9d0c..85a0c69 100644
--- a/dev-cpp/libjsonpp/Manifest
+++ b/dev-cpp/libjsonpp/Manifest
@@ -1,2 +1,4 @@
DIST libjsonpp-986.tar.bz2 4544 SHA256 948c541dc7c837f3bf393925ea07a770788f0d28700e56297daae5f14a9c9c1e SHA512 bb7cae380d8c08ed7ce3da4e748cb4ee845ce9c3bb34ee86af146e79a2d920d3ca4140ee8aadd6e172e228279a28e28405278021136f29160c793674938c8694 WHIRLPOOL 5f32081f476aebc1d9dc2433f87e7cabea7ccb732a9b24b5e029a2491b476748cfe9ce0032419f150887df07763a2b57dac6346a1dc562d5f2d44318b5a697ca
+DIST libjsonpp-996.tar.bz2 6169 SHA256 1a8d623535ca48f37832c8d578e890fb3787b4edffde16d721f907f1c40018c8 SHA512 d1ab34276deb7313677ba2650ce1dff318685895145ef7b452e8afdc5b86eafee01dee574224e6bc3fd2c4a16b592672633169dcff309b10002407f060dd62bc WHIRLPOOL c706f301a7187ec514f239e20e01b3fc06c2abac256b163be4ece200b64acb3346631da656ba762b720a41c3e8111ce52125a4dc4528d25fb60988d8a5956a3f
EBUILD libjsonpp-986.ebuild 739 SHA256 e4c7e05032c7298c8666138fc014b1f0ea7c32e91f528127baff9b62e4f4591c SHA512 822abc6aac08a0d077da093611a69ececc70d89c6713eb23979303e627f9b92df603d6f48390d6aab8cc5a742ab8ce1b66e603ee8741a2acf09aa4fa13153a18 WHIRLPOOL a6e1974669bfdf09836224355dfa0348bebdd2b23b699dd9243201a9da99592845055b818f2c286e84863e5175eea5896c7a1cd9bbe1b4808bff74c0b7e9069b
+EBUILD libjsonpp-996.ebuild 746 SHA256 53cd23aff76e220a70549fdf9c0f1cfb8e3720f3ce7c429336e068c47b26f78b SHA512 17756f0c056b83995071ee95de6c387348358936cd87bc7b14cd1144b090365f076f64f3f7b4cca16dbc1ed5eb146670a99dfbd7927c502733a333808dcc5e80 WHIRLPOOL 2ee75a691c2823181bdbbdab1200b35d096828c24a9bec02f2946a785ce5520e66cad0f90835cc55211d83820d74ab5ffd99c3641d4b79cb01bd29265d02c860
diff --git a/dev-cpp/libjsonpp/libjsonpp-996.ebuild b/dev-cpp/libjsonpp/libjsonpp-996.ebuild
new file mode 100644
index 0000000..2019add
--- /dev/null
+++ b/dev-cpp/libjsonpp/libjsonpp-996.ebuild
@@ -0,0 +1,29 @@
+EAPI="5"
+
+DESCRIPTION="Lightweight native C++ JSON library"
+HOMEPAGE="http://libjsonpp.randomdan.homeip.net/"
+
+SRC_URI="http://releases.randomdan.homeip.net/download/${P}.tar.bz2"
+LICENSE="GPL"
+SLOT="0"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND="dev-cpp/glibmm
+ dev-libs/boost
+ dev-util/boost-build"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -ie "s|^using gcc .*|using gcc : : : <compileflags>\"${CXXFLAGS}\" <linkflags>\"${LDFLAGS}\" ;|" ${S}/Jamroot.jam
+}
+
+src_compile() {
+ cd ${S}/libjsonpp || die
+ setarch $(uname -m) -RL bjam ${BJAMOPTS} variant=release jsonpp -q || die
+}
+
+src_install() {
+ cd ${S}/libjsonpp || die
+ setarch $(uname -m) -RL bjam ${BJAMOPTS} variant=release install -q --libdir=${D}/usr/lib --includedir=${D}/usr/include || die
+}