tinyxml: add .pc-file; shorter description
This commit is contained in:
parent
890772ecbe
commit
9426c1edce
|
@ -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}
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue