mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
New package: libdom-20120223 (for netsurf)
This commit is contained in:
parent
d4c1afde91
commit
5b6105df36
4 changed files with 62 additions and 0 deletions
1
srcpkgs/libdom-devel
Symbolic link
1
srcpkgs/libdom-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
libdom
|
14
srcpkgs/libdom/libdom-devel.template
Normal file
14
srcpkgs/libdom/libdom-devel.template
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# Template file for 'libdom-devel'.
|
||||||
|
#
|
||||||
|
short_desc="${sourcepkg} development files"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
Add_dependency run libdom
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vmove usr/include usr
|
||||||
|
vmove usr/lib/pkgconfig usr/lib
|
||||||
|
vmove "usr/lib/*.a" usr/lib
|
||||||
|
}
|
5
srcpkgs/libdom/libdom.rshlibs
Normal file
5
srcpkgs/libdom/libdom.rshlibs
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
libparserutils.so.0
|
||||||
|
libwapcaplet.so.0
|
||||||
|
libxml2.so.2
|
||||||
|
libhubbub.so.0
|
||||||
|
libc.so.6
|
42
srcpkgs/libdom/template
Normal file
42
srcpkgs/libdom/template
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
# Template build file for 'libdom'.
|
||||||
|
pkgname=libdom
|
||||||
|
version="$(date -u +%Y%m%d)"
|
||||||
|
short_desc="Implementation of the W3C DOM, written in C."
|
||||||
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||||
|
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
|
||||||
|
|
||||||
|
Add_dependency build sed
|
||||||
|
Add_dependency build pkg-config
|
||||||
|
Add_dependency build perl
|
||||||
|
Add_dependency build subversion
|
||||||
|
Add_dependency build libxml2-devel
|
||||||
|
Add_dependency build libparserutils-devel
|
||||||
|
Add_dependency build libwapcaplet-devel
|
||||||
|
Add_dependency build libhubbub-devel
|
||||||
|
|
||||||
|
do_fetch() {
|
||||||
|
local url="svn://svn.netsurf-browser.org/trunk/libdom"
|
||||||
|
msg_normal " Fetching source from $url ...\n"
|
||||||
|
svn co ${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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue