summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-07-18 06:10:39 +0000
committerMichael Weber <xmw@gentoo.org>2012-07-18 06:10:39 +0000
commit0c9620a392cb642d6571af4de3b15855f8cc02a6 (patch)
tree934fbb9011e6b794ff3c49e241285fecd4844c2c /net-libs/libdom
parentMarking ~arm for www-client/netsurf (diff)
downloadgentoo-2-0c9620a392cb642d6571af4de3b15855f8cc02a6.tar.gz
gentoo-2-0c9620a392cb642d6571af4de3b15855f8cc02a6.tar.bz2
gentoo-2-0c9620a392cb642d6571af4de3b15855f8cc02a6.zip
Initial import
(Portage version: 2.1.11.7/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libdom')
-rw-r--r--net-libs/libdom/ChangeLog10
-rw-r--r--net-libs/libdom/Manifest5
-rw-r--r--net-libs/libdom/libdom-0.0.1_pre20120705.ebuild64
-rw-r--r--net-libs/libdom/libdom-9999.ebuild65
-rw-r--r--net-libs/libdom/metadata.xml9
5 files changed, 153 insertions, 0 deletions
diff --git a/net-libs/libdom/ChangeLog b/net-libs/libdom/ChangeLog
new file mode 100644
index 000000000000..8c1635921137
--- /dev/null
+++ b/net-libs/libdom/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-libs/libdom
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libdom/ChangeLog,v 1.1 2012/07/18 06:10:39 xmw Exp $
+
+*libdom-0.0.1_pre20120705 (18 Jul 2012)
+*libdom-9999 (18 Jul 2012)
+
+ 18 Jul 2012; Michael Weber <xmw@gentoo.org> +libdom-0.0.1_pre20120705.ebuild,
+ +libdom-9999.ebuild, +metadata.xml:
+ Initial import
diff --git a/net-libs/libdom/Manifest b/net-libs/libdom/Manifest
new file mode 100644
index 000000000000..d176089a4bd5
--- /dev/null
+++ b/net-libs/libdom/Manifest
@@ -0,0 +1,5 @@
+DIST libdom-0.0.1_pre20120705.tar.gz 908267 SHA256 069de590661c4d3a55954c9acd5a40b5bf3ca172db9a2c540489e2b8913f82ae SHA512 08e57af9e51d72a02172bec53deee969a37616f4758f0c8757472d9a912be3e3584881a6fc08ee12a18278e292a02898d6c2fdada60e5578e7829279f1fa2070 WHIRLPOOL 11c19c629e4e07c4601569df903fba4db7cde2770b0c69a43332a699bffc5d485dc27103d38165a2b065fbf576095294e9d6842408c74f63f5378b9790f0108d
+DIST netsurf-buildsystem-0_p20120717.tar.gz 12371 SHA256 ef2c931fcb14c7b4759c0868fd4e8f4fa730558d1b5b769ad46d557f3b66e7fe SHA512 349ce6995993aedb64a45539aab734248779fc581741ea4463a06b9f36bab49edf02af4281f8a25ce796ce08c8477635ad8e88505a57ea66d03d9b734a33bc77 WHIRLPOOL bdd7a68482671eb18e48cf549710ab095ecdd90bd7880400c56e0a71a534b043f49a0b597043e4b5bb93235154586bcf7a4d92e261fe159b6d53c05bd5d6f713
+EBUILD libdom-0.0.1_pre20120705.ebuild 1524 SHA256 4a1f754f5b45710a866f2bd16d22b98ff7083a450080e9acaae7be5402d0573d SHA512 5364e31661a4239cdaf506553814a0eef91e55dc7616ee88ee8a2012f019316ff4152ac84a3bbfba8e246c8627ea937b4a6072e122e49039860daba7e532816c WHIRLPOOL f04d8467c11845ed6c68aa3af96fe8e1be2831f23c7b19580ce25cf9d10d4eaca422863a3cd3c7d92f60de952700ac950ca1db789e8dffd4eeebc8afedf8a9b6
+EBUILD libdom-9999.ebuild 1565 SHA256 ad9b04223d035aff795de62bacab95290bd1b5d23400e0355db787fdeb13f1d1 SHA512 447df3ec24c57a51a20330bdef6495c9c2bb334cd18bc44a12747da2af3ff42a3e2738bfef1affd10c2d691f59a4eba62dc4b37ef70999494c31d5dc151d8195 WHIRLPOOL c398e795bc37c56af3c0f9bb31da10a6f70a7e47bfc15715462be8a3b496cd4aa72e064b9cafa4b5682b77d7db795ffa9ba9d4c43fae62d2fa5f43e125cb84a0
+MISC metadata.xml 224 SHA256 f810c6de744adceee241992d3f713142db3e7025986f6cc5898cfe3c9cb2f4a7 SHA512 4f78d959809ec0db2f9be2a7747d572fa8ee03d177044dd46574881a6ee83736510b76062c12daecae609282d197ba466e8a3e3a654b1383e04c659acd41bef5 WHIRLPOOL 0300a228d371c918b051bc24859dfe4e5d0d2a71b80f697f202749c5aca69efcee4be6e69454c9abfa4ced28e19a9d1f71d6d7eaf54290b8d03b5c04fd209868
diff --git a/net-libs/libdom/libdom-0.0.1_pre20120705.ebuild b/net-libs/libdom/libdom-0.0.1_pre20120705.ebuild
new file mode 100644
index 000000000000..129d7c012bbc
--- /dev/null
+++ b/net-libs/libdom/libdom-0.0.1_pre20120705.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libdom/libdom-0.0.1_pre20120705.ebuild,v 1.1 2012/07/18 06:10:39 xmw Exp $
+
+EAPI=4
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="implementation of the W3C DOM, written in C"
+HOMEPAGE="http://www.netsurf-browser.org/projects/libdom/"
+SRC_URI="mirror://gentoo/netsurf-buildsystem-0_p20120717.tar.gz
+ mirror://gentoo/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm"
+IUSE="static-libs"
+
+RDEPEND="dev-libs/libparserutils
+ dev-libs/libwapcaplet
+ dev-libs/libxml2
+ net-libs/hubbub"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ test? ( dev-perl/XML-XPath
+ dev-perl/libxml-perl
+ perl-core/Switch )"
+
+src_unpack() {
+ default
+ mv build "${S}" || die
+}
+
+src_prepare() {
+ sed -e "/^INSTALL_ITEMS/s: /lib: /$(get_libdir):g" \
+ -e "s:-Werror::g" \
+ -e "1iNSSHARED=${S}/build" \
+ -e "1iNSBUILD=${S}/build/makefiles" \
+ -i Makefile || die
+ sed -e "/^libdir/s:/lib:/$(get_libdir):g" \
+ -i ${PN}.pc.in || die
+ echo "Q := " >> Makefile.config.override
+ echo "CC := $(tc-getCC)" >> Makefile.config.override
+ echo "AR := $(tc-getAR)" >> Makefile.config.override
+}
+
+src_compile() {
+ emake COMPONENT_TYPE=lib-shared
+ use static-libs && \
+ emake COMPONENT_TYPE=lib-static
+}
+
+src_test() {
+ emake COMPONENT_TYPE=lib-shared test
+ use static-libs && \
+ emake COMPONENT_TYPE=lib-static test
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr COMPONENT_TYPE=lib-shared install
+ use static-libs && \
+ emake DESTDIR="${D}" PREFIX=/usr COMPONENT_TYPE=lib-static install
+ dodoc README docs/*
+}
diff --git a/net-libs/libdom/libdom-9999.ebuild b/net-libs/libdom/libdom-9999.ebuild
new file mode 100644
index 000000000000..3679406776fa
--- /dev/null
+++ b/net-libs/libdom/libdom-9999.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libdom/libdom-9999.ebuild,v 1.1 2012/07/18 06:10:39 xmw Exp $
+
+EAPI=4
+
+inherit git-2 multilib toolchain-funcs
+
+DESCRIPTION="implementation of the W3C DOM, written in C"
+HOMEPAGE="http://www.netsurf-browser.org/projects/libdom/"
+SRC_URI="mirror://gentoo/netsurf-buildsystem-0_p20120717.tar.gz"
+EGIT_REPO_URI="git://git.netsurf-browser.org/libdom.git"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="static-libs"
+
+RDEPEND="dev-libs/libparserutils
+ dev-libs/libwapcaplet
+ dev-libs/libxml2
+ net-libs/hubbub"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ test? ( dev-perl/XML-XPath
+ dev-perl/libxml-perl
+ perl-core/Switch )"
+
+src_unpack() {
+ default
+ git-2_src_unpack
+ mv build "${S}" || die
+}
+
+src_prepare() {
+ sed -e "/^INSTALL_ITEMS/s: /lib: /$(get_libdir):g" \
+ -e "s:-Werror::g" \
+ -e "1iNSSHARED=${S}/build" \
+ -e "1iNSBUILD=${S}/build/makefiles" \
+ -i Makefile || die
+ sed -e "/^libdir/s:/lib:/$(get_libdir):g" \
+ -i ${PN}.pc.in || die
+ echo "Q := " >> Makefile.config.override
+ echo "CC := $(tc-getCC)" >> Makefile.config.override
+ echo "AR := $(tc-getAR)" >> Makefile.config.override
+}
+
+src_compile() {
+ emake COMPONENT_TYPE=lib-shared
+ use static-libs && \
+ emake COMPONENT_TYPE=lib-static
+}
+
+src_test() {
+ emake COMPONENT_TYPE=lib-shared test
+ use static-libs && \
+ emake COMPONENT_TYPE=lib-static test
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr COMPONENT_TYPE=lib-shared install
+ use static-libs && \
+ emake DESTDIR="${D}" PREFIX=/usr COMPONENT_TYPE=lib-static install
+ dodoc README docs/*
+}
diff --git a/net-libs/libdom/metadata.xml b/net-libs/libdom/metadata.xml
new file mode 100644
index 000000000000..59acc2cc580e
--- /dev/null
+++ b/net-libs/libdom/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
+