DESCRIPTION = "GNU dbm is a set of database routines that use extensible hashing."
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPL"

SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \
	   file://makefile.patch;patch=1"
S = "${WORKDIR}/gdbm-${PV}"

inherit autotools native

do_stage () {
	oe_libinstall -so -a libgdbm ${STAGING_LIBDIR}
	install -m 0644 ${S}/gdbm.h ${STAGING_INCDIR}/
}