expat: move pkgconfig file to -devel; move xmlwf to another subpkg.

This commit is contained in:
Juan RP 2012-11-22 14:26:07 +01:00
parent a9027b991e
commit eb70810115
4 changed files with 19 additions and 7 deletions

View file

@ -1,13 +1,13 @@
# Template file for 'expat-devel'. # Template file for 'expat-devel'.
# #
depends="expat>=2.1.0" depends="expat>=${version}"
short_desc="${short_desc} -- development files" short_desc="${short_desc} -- development files"
long_desc="${long_desc} long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
do_install() { do_install() {
vmove usr/include usr vmove usr/include usr
vmove "usr/lib/*.a" usr/lib vmove "usr/lib/*.a" usr/lib
vmove usr/lib/pkgconfig usr/lib
} }

View file

@ -1,17 +1,16 @@
# Template file for 'expat' # Template file for 'expat'
pkgname=expat pkgname=expat
version=2.1.0 version=2.1.0
homepage="http://expat.sourceforge.net/" revision=2
distfiles="$SOURCEFORGE_SITE/expat/$pkgname-$version.tar.gz"
build_style=gnu-configure build_style=gnu-configure
revision=1 subpackages="xmlwf expat-devel"
short_desc="XML parser library written in C" short_desc="XML parser library written in C"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT" license="MIT"
homepage="http://expat.sourceforge.net/"
distfiles="$SOURCEFORGE_SITE/expat/$pkgname-$version.tar.gz"
checksum=823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86 checksum=823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
long_desc=" long_desc="
This is James Clark's expat XML parser library in C. It is a stream This is James Clark's expat XML parser library in C. It is a stream
oriented parser that requires setting handlers to deal with the oriented parser that requires setting handlers to deal with the
structure that the parser discovers in the document." structure that the parser discovers in the document."
subpackages="$pkgname-devel"

View file

@ -0,0 +1,12 @@
# Template file for 'xmlwf'.
#
short_desc="${short_desc} -- xmlwf utility"
long_desc="${long_desc}
This package contains xmlwf(1), an utility that uses the expat library
to determine if an XML document is valid."
do_install() {
vmove usr/bin usr
vmove usr/share usr
}

1
srcpkgs/xmlwf Symbolic link
View file

@ -0,0 +1 @@
expat