summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2013-06-23 16:46:31 +0000
committerMichael Weber <xmw@gentoo.org>2013-06-23 16:46:31 +0000
commit036a3f426289000c66bec0bb37f97ca981a58b78 (patch)
treef05066fcf010ff46fce3db229975c3692a071b33 /dev-libs/libparserutils
parentMigrate to netsurf.eclass (diff)
downloadhistorical-036a3f426289000c66bec0bb37f97ca981a58b78.tar.gz
historical-036a3f426289000c66bec0bb37f97ca981a58b78.tar.bz2
historical-036a3f426289000c66bec0bb37f97ca981a58b78.zip
Migrate to netsurf.eclass
Package-Manager: portage-2.2.0_alpha183/cvs/Linux x86_64 Manifest-Sign-Key: 0x62EEF090
Diffstat (limited to 'dev-libs/libparserutils')
-rw-r--r--dev-libs/libparserutils/ChangeLog5
-rw-r--r--dev-libs/libparserutils/Manifest10
-rw-r--r--dev-libs/libparserutils/libparserutils-0.1.2.ebuild123
3 files changed, 11 insertions, 127 deletions
diff --git a/dev-libs/libparserutils/ChangeLog b/dev-libs/libparserutils/ChangeLog
index c93ae665dff4..fc26af188422 100644
--- a/dev-libs/libparserutils/ChangeLog
+++ b/dev-libs/libparserutils/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/libparserutils
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/ChangeLog,v 1.9 2013/06/17 17:01:40 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/ChangeLog,v 1.10 2013/06/23 16:42:55 xmw Exp $
+
+ 23 Jun 2013; Michael Weber <xmw@gentoo.org> libparserutils-0.1.2.ebuild:
+ Migrate to netsurf.eclass
*libparserutils-0.1.2 (17 Jun 2013)
diff --git a/dev-libs/libparserutils/Manifest b/dev-libs/libparserutils/Manifest
index a3e3e422d13b..2bc4e98d2d70 100644
--- a/dev-libs/libparserutils/Manifest
+++ b/dev-libs/libparserutils/Manifest
@@ -6,13 +6,13 @@ DIST libparserutils-0.1.1-src.tar.gz 94856 SHA256 2d3f1887d3027b7df1fcacd5f74aba
DIST libparserutils-0.1.2-src.tar.gz 74663 SHA256 0a21efd3882c19965f57161c4ecda85a363a71dbe090030dfa69f9aecd2160aa SHA512 e94fbbacd39fc58485e8d7812043bab2780cd828f19d2e7f1173144e2aa24d748ac598a69982f3e224d0920b868f53507d5c261ce14b111c5b7d1ee5fc51b7e1 WHIRLPOOL f53b0b518440d744191db69276a81fb63ad150d01df64921372b2f609c3d7111f87cb879593c19d708d2dea343a548956eb1416ba51360fcf06afef691d173df
DIST netsurf-buildsystem-1.0.tar.gz 37026 SHA256 4495e8e12faf0ace668ab80401064ce7f65a195efe63c924c066a109649ff146 SHA512 763e10766ab16be375c40a226e36a95df5740ac62b5bbc4eb6d52693b83284d2e71d9a3d797f55c28853a5d2565182759ffa9bfb3d736daf21b347f418661c47 WHIRLPOOL a65d53424a34a796a1f85ed5d4a9ca9bf58eaba7246e5ea20bc7da09e0e8ab60e156ce47da521660d5567c6358fda0da744e56ccf52cda6e0db92b19a6055d38
EBUILD libparserutils-0.1.1.ebuild 1681 SHA256 1d9d0efff9b5755fa889bc38b69cfa5e44657264ee38d1f68e117521437ddaf9 SHA512 06c7b32962a53cfa8edcd316458e61bc6dd36afa298b3fddddcb117bd48824565d45034d9b14898a2d4d7a086615873cb6093239e593b7f2475a2d42c1155c08 WHIRLPOOL 1f85dfd18d4e9e5b7d0585fc3ed5fc8310113bf156f5062bd7aa4e6d6fee1f0061917e2fb3c83721c35343f456339081948a4a4277d7265b3a34128820ada97d
-EBUILD libparserutils-0.1.2.ebuild 2829 SHA256 5486c988179c7c916199710f440591863f4af3587ed16d49fdba63d3760b2388 SHA512 55686f044fbe5e0be7b0b403ab8473b43d44a967b0980182f3ec41df3ad4077f39b3f319351eae86803249b75e5064eaf5e84f9b0505a9b54176e4c02278a078 WHIRLPOOL 86a4e2f83623b5e76f38b4d9b87f2169bef268550859f9097b520356077e67b146fa5da269c5cc30f09d3ad65fcd9a1fa5b1775b87f4eaa060502ec123237993
-MISC ChangeLog 1406 SHA256 77786ae099c0b232ef485522dd57f06c47238d4aedd9f02cb4ae5168be77110c SHA512 e3b5f39ff817f126091ee2f78493914b5b20307b89223ae7489e3ceb8f8f0f4203afe61b0f83a87436d77338dc51986910429eb3eea4dc77573a44bada1d6552 WHIRLPOOL e41efa8c26d6ddf6e4ea782bc4e90fb04ba2d3a2bc2a5c0a8f33ca4bf57d870ba2f259ffeaea08c82bb52fae7b649969958e2008161d88263734c783f2e13abb
+EBUILD libparserutils-0.1.2.ebuild 633 SHA256 d3d2f7b087c5abc94c1f31fcddbb78f774032e3afffe12b5301c4700db4be054 SHA512 e3485b456eabdbe26a2f886cac6d4c7bf3796eb379ed22b48c15297c921703d4c0d511586d85fc7fd56ce973d7d46e5919e04801e1e7ababd4659cf8a5c532be WHIRLPOOL db8b3de282ff3c368ef2200186a439b59f24af59f2eec9136df32289b8e5fba54e982305d583da1a8df3d60e525844663267d89d8bc5a9ff0a9e87c190e1dfe3
+MISC ChangeLog 1511 SHA256 d2996cd0187039bbdb6ea9b04580598606eb6691cea5f614426ff816ac566aa9 SHA512 3ac54e31eb3a6cd91767ceb4e382f30b74bdd94c6f2ac608798655cb506954d2d0acebe24450c896a10e1deefec38ae13702752dc78a2605e36da4a1532bfc93 WHIRLPOOL 089e10e39c3b13000b7b15854987205658c9f17718fcd2b625b928ae7652d0277943036ab0b9c656261469c07145698983f84931c34662f242dd6d5eafe65c2f
MISC metadata.xml 224 SHA256 f810c6de744adceee241992d3f713142db3e7025986f6cc5898cfe3c9cb2f4a7 SHA512 4f78d959809ec0db2f9be2a7747d572fa8ee03d177044dd46574881a6ee83736510b76062c12daecae609282d197ba466e8a3e3a654b1383e04c659acd41bef5 WHIRLPOOL 0300a228d371c918b051bc24859dfe4e5d0d2a71b80f697f202749c5aca69efcee4be6e69454c9abfa4ced28e19a9d1f71d6d7eaf54290b8d03b5c04fd209868
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iF4EAREIAAYFAlG/QR8ACgkQknrdDGLu8JCv9AD/YCz9aX2IkzBxT2YBCSV/w4EV
-PTYOXhoZNz5dtpX4gBYA/AyYf2QC9MH9X1N9PPnPbOG0pT7GG96wbcnxMHEtu3RI
-=PuFq
+iF4EAREIAAYFAlHHJYsACgkQknrdDGLu8JD0TAD7B+Ou97RrKr2KACEr9xlgzkOH
+yhoTd8ekOfH0vmEqLAYA+gJFpN1VcOC/sg6jVVARjbFSZMXv7a0RhvJ2j1JZKm/H
+=iMme
-----END PGP SIGNATURE-----
diff --git a/dev-libs/libparserutils/libparserutils-0.1.2.ebuild b/dev-libs/libparserutils/libparserutils-0.1.2.ebuild
index 47a0e04d3cd5..faca71aa4756 100644
--- a/dev-libs/libparserutils/libparserutils-0.1.2.ebuild
+++ b/dev-libs/libparserutils/libparserutils-0.1.2.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.2.ebuild,v 1.1 2013/06/17 17:01:40 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.2.ebuild,v 1.2 2013/06/23 16:42:55 xmw Exp $
EAPI=5
-inherit base flag-o-matic toolchain-funcs multilib-minimal
+inherit flag-o-matic netsurf
DESCRIPTION="library for building efficient parsers, written in C"
HOMEPAGE="http://www.netsurf-browser.org/projects/libparserutils/"
@@ -14,131 +14,12 @@ SLOT="0"
KEYWORDS="~amd64 ~arm"
IUSE="iconv test"
-RDEPEND=""
DEPEND="test? ( dev-lang/perl )"
DOCS=( README docs/Todo )
-### future context of netsurf.eclass
-
-NETSURF_BUILDSYSTEM="${NETSURF_BUILDSYSTEM:-buildsystem-1.0}"
-SRC_URI=${SRC_URI:-http://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz}
-SRC_URI+="
- http://download.netsurf-browser.org/libs/releases/${NETSURF_BUILDSYSTEM}.tar.gz -> netsurf-${NETSURF_BUILDSYSTEM}.tar.gz"
-IUSE+=" debug static-libs"
-if has doc ${IUSE} ; then
- DEPEND+="
- doc? ( app-doc/doxygen )"
-fi
-DEPEND+="
- virtual/pkgconfig"
-pkg_setup(){
- netsurf_src_prepare() {
- if [ -f docs/doxygen.conf ] ; then
- if ! has doc ${IUSE} ; then
- if [ -z "${NETSURF_IGNORE_DOXYGEN}" ] ; then
- die "Missing IUSE=doc"
- fi
- fi
- fi
-
- base_src_prepare
-
- multilib_copy_sources
- }
-
- netsurf_src_configure() {
- netsurf_makeconf=(
- NSSHARED=${WORKDIR}/${NETSURF_BUILDSYSTEM}
- Q=
- CCOPT=
- CCNOOPT=
- CCDBG=
- LDDBG=
- AR="$(tc-getAR)"
- BUILD=$(usex debug debug release)
- DESTDIR="${D}"
- PREFIX="${EROOT}"usr
- )
-
- multilib-minimal_src_configure
- }
-
- netsurf_src_compile() {
- multilib-minimal_src_compile
-
- if has doc ${IUSE} ; then
- use doc && netsurf_make docs
- fi
- }
-
- netsurf_src_test() {
- multilib-minimal_src_test
- }
-
- netsurf_src_install() {
- multilib-minimal_src_install
- }
-
- multilib_src_configure() {
- sed -e "/^INSTALL_ITEMS/s: /lib: /$(get_libdir):g" \
- -i Makefile || die
- if [ -f ${PN}.pc.in ] ; then
- sed -e "/^libdir/s:/lib:/$(get_libdir):g" \
- -i ${PN}.pc.in || die
- fi
- }
-
- netsurf_make() {
- emake CC="$(tc-getCC)" LD="$(tc-getLD)" "${netsurf_makeconf[@]}" \
- COMPONENT_TYPE=lib-shared "$@"
- if use static-libs ; then
- emake CC="$(tc-getCC)" LD="$(tc-getLD)" "${netsurf_makeconf[@]}" \
- COMPONENT_TYPE=lib-static "$@"
- fi
- }
-
- multilib_src_compile() {
- netsurf_make
- }
-
- multilib_src_test() {
- netsurf_make test
- }
-
- multilib_src_test() {
- netsurf_make test
- }
-
- multilib_src_install() {
- netsurf_make install
- }
-
- multilib_src_install_all() {
- if has doc ${IUSE} ; then
- use doc && dohtml -r build/docs/html/*
- fi
- }
-}
-
-src_prepare() {
- netsurf_src_prepare
-}
-
src_configure() {
netsurf_src_configure
append-cflags "-D$(usex iconv WITH WITHOUT)_ICONV_FILTER"
}
-
-src_compile() {
- netsurf_src_compile
-}
-
-src_test() {
- netsurf_src_test
-}
-
-src_install() {
- netsurf_src_install
-}