libparserutils: update to 0.1.2.
This commit is contained in:
parent
cfae1658bd
commit
b89256ad72
|
@ -1,51 +1,34 @@
|
|||
# Template build file for 'libnsgif'.
|
||||
pkgname=libparserutils
|
||||
version=0.1.1
|
||||
revision=5
|
||||
makedepends="perl"
|
||||
short_desc="Library for building efficient parsers, written in C."
|
||||
version=0.1.2
|
||||
revision=1
|
||||
hostmakedepends="netsurf-buildsystem"
|
||||
short_desc="Library for building efficient parsers, written in C"
|
||||
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||
homepage="http://www.netsurf-browser.org"
|
||||
license="MIT"
|
||||
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz"
|
||||
checksum=2d3f1887d3027b7df1fcacd5f74aba16d3c22a86c169816cd712857a1be0aaf3
|
||||
long_desc="
|
||||
LibParserUtils is a library for building efficient parsers, written
|
||||
in C. It was developed as part of the NetSurf project and is available
|
||||
for use by other software under the MIT licence.
|
||||
|
||||
* Features
|
||||
No mandatory dependencies (iconv() implementation optional for
|
||||
enhanced charset support)
|
||||
A number of built-in character set converters
|
||||
Mapping of character set names to/from MIB enum values
|
||||
UTF-8 and UTF-16 (host endian) support functions
|
||||
Various simple data structures (resizeable buffer, stack, vector)
|
||||
A UTF-8 input stream
|
||||
Simple C API
|
||||
Portable
|
||||
Shared library"
|
||||
checksum=0a21efd3882c19965f57161c4ecda85a363a71dbe090030dfa69f9aecd2160aa
|
||||
|
||||
do_build() {
|
||||
make ${makejobs} COMPONENT_TYPE=lib-shared
|
||||
make ${makejobs} COMPONENT_TYPE=lib-static
|
||||
make ${makejobs} COMPONENT_TYPE=lib-shared PREFIX=/usr
|
||||
make ${makejobs} COMPONENT_TYPE=lib-static PREFIX=/usr
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make ${makejobs} COMPONENT_TYPE=lib-shared \
|
||||
PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||
make ${makejobs} COMPONENT_TYPE=lib-static \
|
||||
PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||
make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||
make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||
|
||||
vinstall "${wrksrc}/COPYING" 0644 "usr/share/licenses/${pkgname}"
|
||||
vinstall COPYING 0644 usr/share/licenses/${pkgname}
|
||||
}
|
||||
|
||||
libparserutils-devel_package() {
|
||||
depends="libparserutils>=${version}"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" -- development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue