mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
tinyxml: add .pc-file; shorter description
This commit is contained in:
parent
890772ecbe
commit
9426c1edce
2 changed files with 14 additions and 3 deletions
10
srcpkgs/tinyxml/files/tinyxml.pc.in
Normal file
10
srcpkgs/tinyxml/files/tinyxml.pc.in
Normal 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}
|
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'tinyxml'
|
# Template file for 'tinyxml'
|
||||||
pkgname=tinyxml
|
pkgname=tinyxml
|
||||||
version=2.6.2
|
version=2.6.2
|
||||||
revision=5
|
revision=6
|
||||||
wrksrc="${pkgname}"
|
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>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.grinninglizard.com/tinyxml/"
|
homepage="http://www.grinninglizard.com/tinyxml/"
|
||||||
license="zlib"
|
license="zlib"
|
||||||
|
@ -22,7 +22,8 @@ do_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
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 -m0755 lib${sourcepkg}.so.0.${version} ${DESTDIR}/usr/lib
|
||||||
install -m0644 ${sourcepkg}.h tinystr.h ${DESTDIR}/usr/include
|
install -m0644 ${sourcepkg}.h tinystr.h ${DESTDIR}/usr/include
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue