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 = "r3"
SRCREV = "2c5bb6ceb99ecd950ef993e43d77bf0569ea0582"

inherit cmake

SRC_URI = "git://github.com/openSUSE/zypper.git;protocol=git \
           file://cmake.patch \
           file://cmake_libxml2.patch \
           file://dso_linking_change_build_fix.patch \
           file://rpm5-flag.patch \
           file://gcc-scope.patch \
           file://rpmatch.patch \
          "
S = "${WORKDIR}/git"

PV = "1.5.3-git${SRCPV}"

RDEPENDS_${PN} = "rpm-libs"
RRECOMMENDS_${PN} = "procps util-linux-uuidgen"

PACKAGE_ARCH = "${MACHINE_ARCH}"
OECMAKE_CXX_LINK_FLAGS_libc-uclibc += "-lintl"
