From 1cce5ad915db3958a98faf21d142a3fd4cf06bf9 Mon Sep 17 00:00:00 2001 From: Ricardo Salveti de Araujo Date: Mon, 9 Nov 2009 20:52:58 -0300 Subject: [PATCH 106/118] libept-0.5.29: adding recipe Signed-off-by: Ricardo Salveti de Araujo --- recipes/libept/files/removing_doc.patch | 25 +++++++++++++++++++++++++ recipes/libept/libept_0.5.29.bb | 11 +++++++++++ 2 files changed, 36 insertions(+), 0 deletions(-) create mode 100644 recipes/libept/files/removing_doc.patch create mode 100644 recipes/libept/libept_0.5.29.bb diff --git a/recipes/libept/files/removing_doc.patch b/recipes/libept/files/removing_doc.patch new file mode 100644 index 0000000..cc3b28c --- /dev/null +++ b/recipes/libept/files/removing_doc.patch @@ -0,0 +1,25 @@ +Index: libept-0.5.29/CMakeLists.txt +=================================================================== +--- libept-0.5.29.orig/CMakeLists.txt ++++ libept-0.5.29/CMakeLists.txt +@@ -36,4 +36,3 @@ endif( INTERNAL_TAGCOLL ) + + add_subdirectory( ept ) + add_subdirectory( tools ) +-add_subdirectory( doc ) +Index: libept-0.5.29/tools/CMakeLists.txt +=================================================================== +--- libept-0.5.29.orig/tools/CMakeLists.txt ++++ libept-0.5.29/tools/CMakeLists.txt +@@ -12,11 +12,4 @@ add_executable( ept-cache + set( bindir ${CMAKE_CURRENT_BINARY_DIR} ) + set( srcdir ${CMAKE_CURRENT_SOURCE_DIR} ) + +-add_custom_command( +- TARGET manpage +- POST_BUILD +- DEPENDS manpage +- COMMAND LD_LIBRARY_PATH=${ept_BINARY_DIR} ${bindir}/manpage ept-cache ${srcdir}/ept-cache-man-hooks > ${bindir}/ept-cache.1 ) +- + install( TARGETS ept-cache RUNTIME DESTINATION bin ) +-install( FILES ${bindir}/ept-cache.1 DESTINATION share/man/man1 ) diff --git a/recipes/libept/libept_0.5.29.bb b/recipes/libept/libept_0.5.29.bb new file mode 100644 index 0000000..d25c40e --- /dev/null +++ b/recipes/libept/libept_0.5.29.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "High-level library for managing Debian package information" +HOMEPAGE = "http://packages.qa.debian.org/libept" +LICENSE = "LGPL" +SECTION = "devel/libs" +DEPENDS = "cdbs debhelper libwibble tagcoll2 apt xapian-core" +PR = "r0" + +SRC_URI = "${DEBIAN_MIRROR}/main/libe/libept/${PN}_${PV}.tar.gz \ + file://removing_doc.patch;patch=1" + +inherit cmake pkgconfig -- 1.6.3.3