tinyxml: add .pc-file; shorter description

This commit is contained in:
Enno Boland 2015-07-22 17:27:05 +02:00
parent 890772ecbe
commit 9426c1edce
2 changed files with 14 additions and 3 deletions

View File

@ -0,0 +1,10 @@
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: TinyXml
Description: simple, small, C++ XML parser
Version: @VERSION@
Libs: -L${libdir} -ltinyxml
Cflags: -I${includedir}

View File

@ -1,9 +1,9 @@
# Template file for 'tinyxml'
pkgname=tinyxml
version=2.6.2
revision=5
revision=6
wrksrc="${pkgname}"
short_desc="A simple, small, C++ XML parser that can be easily integrated into other programs"
short_desc="A simple, small, C++ XML parser"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.grinninglizard.com/tinyxml/"
license="zlib"
@ -22,7 +22,8 @@ do_build() {
}
do_install() {
install -dm 0755 ${DESTDIR}/usr/{lib,include}
install -dm 0755 ${DESTDIR}/usr/{lib,lib/pkgconfig,include}
sed "s/@VERSION@/$version/" ${FILESDIR}/tinyxml.pc.in > $DESTDIR/usr/lib/pkgconfig/tinyxml.pc
install -m0755 lib${sourcepkg}.so.0.${version} ${DESTDIR}/usr/lib
install -m0644 ${sourcepkg}.h tinystr.h ${DESTDIR}/usr/include