New package: xerces-c-3.1.2

This commit is contained in:
Jürgen Buchmüller 2015-11-18 21:34:09 +01:00
parent b613ca61c1
commit 786a1be68f
4 changed files with 35 additions and 0 deletions

View file

@ -2288,3 +2288,4 @@ libfloatfann.so.2 fann-2.2.0_1
libfixedfann.so.2 fann-2.2.0_1
libfann.so.2 fann-2.2.0_1
libdoublefann.so.2 fann-2.2.0_1
libxerces-c-3.1.so libxerces-c-3.1.2_1

1
srcpkgs/libxerces-c Symbolic link
View file

@ -0,0 +1 @@
xerces-c

1
srcpkgs/libxerces-c-devel Symbolic link
View file

@ -0,0 +1 @@
xerces-c

32
srcpkgs/xerces-c/template Normal file
View file

@ -0,0 +1,32 @@
# Template file for 'xerces-c'
pkgname=xerces-c
version=3.1.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libcurl-devel icu55-devel"
depends="lib${pkgname}>=${version}_${revision}"
short_desc="Validating XML parser written in portable C++"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="Apache-2.0"
homepage="http://xerces.apache.org/xerces-c/"
distfiles="http://apache.mirror.digionline.de//xerces/c/3/sources/${pkgname}-${version}.tar.bz2"
checksum=95d8655c4c50668ad60d555b59da9f31937b2c53638aa8d5768cb169f192d5e1
libxerces-c_package() {
short_desc+=" - shared library"
pkg_install() {
vmove usr/lib/libxerces-c-${version%.*}.so
}
}
libxerces-c-devel_package() {
short_desc+=" - development files"
depends="lib${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/libxerces-c.so
}
}