Gentoo Development Guide

NETSURF.ECLASS

Section: portage (5)
Updated: Apr 2014
Index Return to Main Contents
 

NAME

netsurf.eclass - Handle buildsystem of www.netsurf-browser.org components  

DESCRIPTION

Handle unpacking and usage of separate buildsystem tarball and manage multilib build, static-libs generation and debug building.

Supports PATCHES and DOCS as in base.eclass  

FUNCTIONS

netsurf_src_prepare
Run base_src_prepare for PATCHES support and multilib_copy_sources for in-source build.
netsurf_src_configure
Setup netsurf_makeconf and run multilib-minimal_src_configure. A default multilib_src_configure is provided by this eclass.
netsurf_make
Calls emake with netsurf_makeconf and toolchain CC/LD as arguments for every NETSURF_COMPONENT_TYPE if activated.
netsurf_src_compile
Calls multilib-minimal_src_compile and netsurf_make doc if USE=doc. A default multilib_src_compile is provided by this eclass.
netsurf_src_test
Calls multilib-minimal_src_test. A default multilib_src_test is provided by this eclass.
netsurf_src_install
Calls multilib-minimal_src_install. A default multilib_src_test is provided by this eclass. A default multilib_src_install is provided by this eclass.
 

ECLASS VARIABLES

NETSURF_BUILDSYSTEM = "${NETSURF_BUILDSYSTEM:-buildsystem-1.0}"
Select version of buildsystem tarball to be used along the component defaults to buildsystem-1.0
NETSURF_BUILDSYSTEM_SRC_URI = "http://download.netsurf-browser.org/libs/releases/${NETSURF_BUILDSYSTEM}.tar.gz -> netsurf-${NETSURF_BUILDSYSTEM}.tar.gz"
Download link for NETSURF_BUILDSYSTEM, add to SRC_URI iff set explicitly.
NETSURF_COMPONENT_TYPE = "${NETSURF_COMPONENT_TYPE:-lib-static lib-shared}"
Passed to buildsystem as COMPONENT_TYPE, valid values are lib-shared, lib-static and binary. Defaults to "lib-static lib-shared"
SRC_URI
Defaults to http://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz and NETSURF_BUILDSYSTEM_SRC_URI.
netsurf_makeconf
Configuration variable bash array to be passed to emake calls. Defined at netsurf_src_configure and can be altered afterwards.
 

MAINTAINERS

Michael Weber <xmw@gentoo.org>
 

REPORTING BUGS

Please report bugs via http://bugs.gentoo.org/  

FILES

/usr/portage/eclass/netsurf.eclass  

SEE ALSO

ebuild(5)
http://sources.gentoo.org/eclass/netsurf.eclass?view=log


 

Index

NAME
DESCRIPTION
FUNCTIONS
ECLASS VARIABLES
MAINTAINERS
REPORTING BUGS
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 03:25:10 GMT, April 24, 2014