parent
9ce7fe1431
commit
6d3a34a0f5
|
@ -1,15 +0,0 @@
|
||||||
--- CMakeLists.txt.orig
|
|
||||||
+++ CMakeLists.txt
|
|
||||||
@@ -157,7 +157,11 @@
|
|
||||||
set(name ${LIB_NAME})
|
|
||||||
set ( BINDIR console )
|
|
||||||
add_executable( ${name} ${BINDIR}/tidy.c )
|
|
||||||
-target_link_libraries( ${name} ${add_LIBS} )
|
|
||||||
+if (BUILD_SHARED_LIB)
|
|
||||||
+ target_link_libraries( ${name} tidy-share )
|
|
||||||
+else()
|
|
||||||
+ target_link_libraries( ${name} tidy-static )
|
|
||||||
+endif()
|
|
||||||
if (MSVC)
|
|
||||||
set_target_properties( ${name} PROPERTIES DEBUG_POSTFIX d )
|
|
||||||
endif ()
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'tidy5'
|
# Template file for 'tidy5'
|
||||||
pkgname=tidy5
|
pkgname=tidy5
|
||||||
version=5.4.0
|
version=5.6.0
|
||||||
revision=1
|
revision=1
|
||||||
_reponame=tidy-html5
|
_reponame=tidy-html5
|
||||||
wrksrc="${_reponame}-${version}"
|
wrksrc="${_reponame}-${version}"
|
||||||
|
@ -12,7 +12,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="W3C"
|
license="W3C"
|
||||||
homepage="http://www.htacg.org/${_reponame}/"
|
homepage="http://www.htacg.org/${_reponame}/"
|
||||||
distfiles="https://github.com/htacg/${_reponame}/archive/${version}.tar.gz"
|
distfiles="https://github.com/htacg/${_reponame}/archive/${version}.tar.gz"
|
||||||
checksum=a2d754b7349982e33f12d798780316c047a3b264240dc6bbd4641542e57a0b7a
|
checksum=08a63bba3d9e7618d1570b4ecd6a7daa83c8e18a41c82455b6308bc11fe34958
|
||||||
|
|
||||||
provides="tidy-${version}_${revision}"
|
provides="tidy-${version}_${revision}"
|
||||||
replaces="tidy>0"
|
replaces="tidy>0"
|
||||||
|
@ -52,5 +52,6 @@ libtidy5-devel_package() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/*.a
|
vmove usr/lib/*.a
|
||||||
vmove usr/lib/*.so
|
vmove usr/lib/*.so
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue