void-packages/srcpkgs/libdom/template

41 lines
1.2 KiB
Text
Raw Normal View History

# Template build file for 'libdom'.
pkgname=libdom
version="$(date -u +%Y%m%d)"
2012-02-23 23:50:17 +00:00
homepage="http://www.netsurf-browser.org"
makedepends="pkg-config perl subversion libxml2-devel libparserutils-devel libwapcaplet-devel libhubbub-devel"
revision=1
short_desc="Implementation of the W3C DOM, written in C."
maintainer="davehome <davehome@redthumb.info.tm>"
2012-02-23 23:50:17 +00:00
license="MIT"
long_desc="
LibDOM is an implementation of the W3C DOM, written in C. It is
currently in development for use with NetSurf and is intended to
be suitable for use in other projects too. For further details,
see the readme."
subpackages="${pkgname}-devel"
nofetch=yes
noextract=yes
do_fetch() {
2012-06-30 09:33:04 +00:00
local _rev="13951"
local url="svn://svn.netsurf-browser.org/trunk/libdom"
2012-06-30 09:33:04 +00:00
msg_normal " Fetching source from $url (revision ${_rev}) ...\n"
svn checkout -r ${_rev} ${url} ${pkgname}-${version}
}
do_build() {
make ${makejobs} COMPONENT_TYPE=lib-shared
make ${makejobs} COMPONENT_TYPE=lib-static
}
do_install() {
make ${makejobs} COMPONENT_TYPE=lib-shared \
PREFIX=/usr DESTDIR=${DESTDIR} install
make ${makejobs} COMPONENT_TYPE=lib-static \
PREFIX=/usr DESTDIR=${DESTDIR} install
2012-02-23 23:50:17 +00:00
vinstall "${wrksrc}/COPYING" 644 "usr/share/license/${pkgname}"
}