pugixml: update to 1.7.

This commit is contained in:
Enno Boland 2015-10-21 18:49:28 +02:00
parent fbd8f565c7
commit 8ef2b2a33e
2 changed files with 4 additions and 30 deletions

View file

@ -1,26 +0,0 @@
--- scripts/CMakeLists.txt.orig 2015-03-25 03:19:09 UTC
+++ scripts/CMakeLists.txt
@@ -16,19 +16,16 @@ if(DEFINED BUILD_DEFINES)
add_definitions(${BUILD_DEFINES})
endif()
-if(BUILD_SHARED_LIBS)
- add_library(pugixml SHARED ${SOURCES})
-else()
- add_library(pugixml STATIC ${SOURCES})
-endif()
+add_library(pugixml SHARED ${SOURCES})
+add_library(pugixml_static STATIC ${SOURCES})
set_target_properties(pugixml PROPERTIES VERSION 1.6 SOVERSION 1)
+set_target_properties(pugixml_static PROPERTIES OUTPUT_NAME pugixml)
-install(TARGETS pugixml EXPORT pugixml-config
+install(TARGETS pugixml pugixml_static
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
install(FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
-install(EXPORT pugixml-config DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/pugixml)

View file

@ -1,7 +1,7 @@
# Template file for 'pugixml'
pkgname=pugixml
version=1.6
revision=2
version=1.7
revision=1
build_style=cmake
hostmakedepends="cmake"
short_desc="Light-weight, simple and fast XML parser for C++ with XPath support"
@ -9,7 +9,8 @@ maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MIT"
homepage="http://pugixml.org/"
distfiles="http://github.com/zeux/pugixml/releases/download/v1.6/pugixml-$version.tar.gz"
checksum=473705c496d45ee6a74f73622b175dfb5dde0de372c4dc61a5acb964516cd9de
checksum=fbe10d46f61d769f7d92a296102e4e2bd3ee16130f11c5b10a1aae590ea1f5ca
configure_args="-DBUILD_SHARED_LIBS=On"
build_wrksrc="scripts"
pugixml-devel_package() {
@ -17,7 +18,6 @@ pugixml-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}