diff options
author | Qing He <qing.he@intel.com> | 2010-08-20 11:08:43 +0800 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-09-03 18:30:17 -0700 |
commit | 7b017195a389d7e4d00b93f087ab098173c7e96f (patch) | |
tree | 6cce3b782fec0e027ec20d68e6fdd37a171a5a39 /meta | |
parent | 162c652a2ca36e5afc58f21cb86601a057a4e4bc (diff) | |
download | openembedded-core-7b017195a389d7e4d00b93f087ab098173c7e96f.tar.gz openembedded-core-7b017195a389d7e4d00b93f087ab098173c7e96f.tar.bz2 openembedded-core-7b017195a389d7e4d00b93f087ab098173c7e96f.tar.xz openembedded-core-7b017195a389d7e4d00b93f087ab098173c7e96f.zip |
zypper: add new package
Signed-off-by: Saul Wold <saul.wold@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/zypper/zypper/cmake.patch | 20 | ||||
-rw-r--r-- | meta/recipes-extended/zypper/zypper_git.bb | 19 |
2 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-extended/zypper/zypper/cmake.patch b/meta/recipes-extended/zypper/zypper/cmake.patch new file mode 100644 index 000000000..1b0a68288 --- /dev/null +++ b/meta/recipes-extended/zypper/zypper/cmake.patch @@ -0,0 +1,20 @@ +without the patch, /usr/include/rpm/ won't be added +in cppflags + +8/19/2010 - created by Qing He <qing.he@intel.com> + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 6b040a6..04a1595 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -21,6 +21,10 @@ SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O2 -Wall -fstack-protector" ) + + GENERATE_PACKAGING(${PACKAGE} ${VERSION}) + ++FIND_PACKAGE(PkgConfig REQUIRED) ++PKG_CHECK_MODULES(RPM REQUIRED rpm) ++INCLUDE_DIRECTORIES( ${RPM_INCLUDE_DIRS} ) ++ + FIND_PACKAGE( Zypp REQUIRED ) + IF( ZYPP_FOUND ) + INCLUDE_DIRECTORIES(${ZYPP_INCLUDE_DIR}) diff --git a/meta/recipes-extended/zypper/zypper_git.bb b/meta/recipes-extended/zypper/zypper_git.bb new file mode 100644 index 000000000..b7adb0f60 --- /dev/null +++ b/meta/recipes-extended/zypper/zypper_git.bb @@ -0,0 +1,19 @@ +HOMEPAGE = "http://gitorious.org/opensuse/zypper" +DESCRIPTION = "The ZYpp Linux Software management framework" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=3201406e350b39e05a82e28b5020f413" + +DEPENDS = "libzypp augeas" +PR = "r0" + +inherit cmake + +SRCREV = "9eb0e248e06c8d20ad054be2439149d9ede37531" + +SRC_URI = "git://gitorious.org/opensuse/zypper.git;protocol=git \ + file://cmake.patch \ + " +S = "${WORKDIR}/git" + +PV = "1.4.7-git${SRCPV}" |