xmlsec1: multiple improvements.
- Add missing dependencies to the -devel pkg. - Move all development files to the -devel pkg. - Do not add dots to short_desc. - Fixed cross compilation.
This commit is contained in:
parent
65d1b17d58
commit
db2b990303
|
@ -1,21 +1,37 @@
|
|||
# Template file for 'xmlsec'
|
||||
pkgname=xmlsec1
|
||||
version=1.2.19
|
||||
revision=2
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libxml2-devel libxslt-devel libltdl-devel gnutls-devel"
|
||||
revision=3
|
||||
hostmakedepends="libtool pkg-config gnutls-devel"
|
||||
makedepends="libxslt-devel libltdl-devel gnutls-devel"
|
||||
build_style="gnu-configure"
|
||||
maintainer="Enno Boland <eb@s01.de>"
|
||||
license="MIT"
|
||||
homepage="http://www.aleksey.com/xmlsec/"
|
||||
short_desc="XML Security Library is a C library based on LibXML2."
|
||||
short_desc="XML Security Library is a C library based on LibXML2"
|
||||
distfiles="http://www.aleksey.com/xmlsec/download/xmlsec1-${version}.tar.gz"
|
||||
checksum=2fc8f7c9fadb0f6c565bf304de798a875fc719005c20169f8e88028b20c8aac0
|
||||
|
||||
pre_configure() {
|
||||
libtoolize -f
|
||||
}
|
||||
|
||||
post_install() {
|
||||
sed -e "s,${XBPS_CROSS_BASE},,g" -i ${DESTDIR}/usr/lib/xmlsec1Conf.sh
|
||||
}
|
||||
|
||||
xmlsec1-devel_package() {
|
||||
depends="libxslt-devel libltdl-devel gnutls-devel ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/bin/xmlsec1-config
|
||||
vmove usr/share/man/man1/xmlsec1-config.1
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/lib/xmlsec1Conf.sh
|
||||
vmove usr/share/aclocal
|
||||
vmove usr/share/doc
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue