SUMMARY = "Key/value database library with extensible hashing"
HOMEPAGE = "http://www.gnu.org/software/gdbm/"
SECTION = "libs"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=d8e20eece214df8ef953ed5857862150"

PR = "r4"

SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \
	   file://makefile.patch \
           file://libtool-mode.patch \
           file://ldflags.patch"

SRC_URI[md5sum] = "1d1b1d5c0245b1c00aff92da751e9aa1"
SRC_URI[sha256sum] = "cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a281dc9"

inherit autotools

BBCLASSEXTEND = "native nativesdk"

#
#Meta-debian
#
inherit debian-package
DPR = "0"

SRC_URI += " \
	   file://makefile.patch \
           file://libtool-mode.patch \
           file://ldflags.patch"

do_configure_prepend() {
	sed -i -e "s/-lgdbm//g" ${S}/Makefile.in
}

#
# base recipe: meta/recipes-support/gdbm/gdbm_1.8.3.bb
# base branch: daisy
#

PR = "r0"

inherit debian-package

SUMMARY = "Key/value database library with extensible hashing"
HOMEPAGE = "http://www.gnu.org/software/gdbm/"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=d8e20eece214df8ef953ed5857862150"

inherit autotools

BBCLASSEXTEND = "native nativesdk"

SRC_URI += " \
	   file://makefile.patch \
           file://libtool-mode.patch \
           file://ldflags.patch"

do_configure_prepend() {
	sed -i -e "s/-lgdbm//g" ${S}/Makefile.in
}

Update recipe for gdbm package
Update recipe for gdbm package

Signed-off-by: Tran Thi Van Dung <4602a2150458a8fc79ca562d1ec5fffebd9f9638@toshiba-tsdv.com>
