diff options
author | Michael Weber <xmw@gentoo.org> | 2013-06-23 16:44:07 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2013-06-23 16:44:07 +0000 |
commit | 38231eb1d0eb02d6a05a7e0b014d28804fa24e87 (patch) | |
tree | 0655b6326a3e7c14c046208a22d9a04cf48d0e4a /net-libs/libhubbub | |
parent | New snapshot including udisks2 support, fixes bug #473326. (diff) | |
download | gentoo-2-38231eb1d0eb02d6a05a7e0b014d28804fa24e87.tar.gz gentoo-2-38231eb1d0eb02d6a05a7e0b014d28804fa24e87.tar.bz2 gentoo-2-38231eb1d0eb02d6a05a7e0b014d28804fa24e87.zip |
Migrate to netsurf.eclass
(Portage version: 2.2.0_alpha183/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'net-libs/libhubbub')
-rw-r--r-- | net-libs/libhubbub/ChangeLog | 5 | ||||
-rw-r--r-- | net-libs/libhubbub/libhubbub-0.2.0.ebuild | 126 |
2 files changed, 6 insertions, 125 deletions
diff --git a/net-libs/libhubbub/ChangeLog b/net-libs/libhubbub/ChangeLog index e5deae2c880d..75b7e1237407 100644 --- a/net-libs/libhubbub/ChangeLog +++ b/net-libs/libhubbub/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-libs/libhubbub # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libhubbub/ChangeLog,v 1.1 2013/06/17 17:23:28 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libhubbub/ChangeLog,v 1.2 2013/06/23 16:44:07 xmw Exp $ + + 23 Jun 2013; Michael Weber <xmw@gentoo.org> libhubbub-0.2.0.ebuild: + Migrate to netsurf.eclass *libhubbub-0.2.0 (17 Jun 2013) diff --git a/net-libs/libhubbub/libhubbub-0.2.0.ebuild b/net-libs/libhubbub/libhubbub-0.2.0.ebuild index 1f033f811e97..9577dfcbefc2 100644 --- a/net-libs/libhubbub/libhubbub-0.2.0.ebuild +++ b/net-libs/libhubbub/libhubbub-0.2.0.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/net-libs/libhubbub/libhubbub-0.2.0.ebuild,v 1.1 2013/06/17 17:23:28 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libhubbub/libhubbub-0.2.0.ebuild,v 1.2 2013/06/23 16:44:07 xmw Exp $ EAPI=5 -inherit base toolchain-funcs multilib-minimal +inherit netsurf DESCRIPTION="HTML5 compliant parsing library, written in C" HOMEPAGE="http://www.netsurf-browser.org/projects/hubbub/" @@ -27,125 +27,3 @@ PATCHES=( "${FILESDIR}"/${P}-error.patch ) DOCS=( README docs/{Architecture,Macros,Todo,Treebuilder,Updated} ) RESTRICT=test - -### 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 -} - -src_compile() { - netsurf_src_compile -} - -src_test() { - netsurf_src_test -} - -src_install() { - netsurf_src_install -} |