libdom: update to 0.0.1.

This commit is contained in:
Juan RP 2014-02-04 21:18:45 +01:00
parent a48a134a68
commit bb3fc42c31
2 changed files with 14 additions and 24 deletions

View File

@ -1463,3 +1463,4 @@ libmulticobex.so.1 libmulticobex-0.24_1
libobexftp.so.0 libobexftp-0.24_1 libobexftp.so.0 libobexftp-0.24_1
libhunspell-1.3.so.0 libhunspell-1.3.2_1 libhunspell-1.3.so.0 libhunspell-1.3.2_1
libstdlog.so.0 liblogging-1.0.0_1 libstdlog.so.0 liblogging-1.0.0_1
libdom.so.0 libdom-0.0.1_1

View File

@ -1,46 +1,35 @@
# Template build file for 'libdom'. # Template build file for 'libdom'.
pkgname=libdom pkgname=libdom
_svnrev=13951 version=0.0.1
version=20120706.${_svnrev}
revision=1 revision=1
hostmakedepends="pkg-config perl subversion" hostmakedepends="pkg-config perl netsurf-buildsystem"
makedepends="libxml2-devel libparserutils-devel libwapcaplet-devel libhubbub-devel" makedepends="expat-devel libparserutils-devel libwapcaplet-devel libhubbub-devel"
short_desc="Implementation of the W3C DOM, written in C." short_desc="Implementation of the W3C DOM, written in C."
maintainer="davehome <davehome@redthumb.info.tm>" maintainer="davehome <davehome@redthumb.info.tm>"
license="MIT" license="MIT"
homepage="http://www.netsurf-browser.org" homepage="http://www.netsurf-browser.org"
long_desc=" distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz"
LibDOM is an implementation of the W3C DOM, written in C. It is checksum=2aa75861c8a8291b6b3d1a3856c65ca615677afeec64ccfdf35a113a292c36b1
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."
do_fetch() {
local url="svn://svn.netsurf-browser.org/trunk/libdom"
msg_normal " Fetching source from $url (revision ${_svnrev}) ...\n"
svn checkout -r ${_svnrev} ${url} ${pkgname}-${version}
}
do_build() { do_build() {
make ${makejobs} COMPONENT_TYPE=lib-shared make ${makejobs} COMPONENT_TYPE=lib-shared PREFIX=/usr
make ${makejobs} COMPONENT_TYPE=lib-static make ${makejobs} COMPONENT_TYPE=lib-static PREFIX=/usr
} }
do_install() { do_install() {
make ${makejobs} COMPONENT_TYPE=lib-shared \ make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install
PREFIX=/usr DESTDIR=${DESTDIR} install make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install
make ${makejobs} COMPONENT_TYPE=lib-static \
PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall "${wrksrc}/COPYING" 644 "usr/share/license/${pkgname}" vinstall COPYING 0644 usr/share/licenses/${pkgname}
} }
libdom-devel_package() { libdom-devel_package() {
depends="libdom>=${version}" depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove "usr/lib/*.a" vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
} }
} }