summaryrefslogtreecommitdiff
path: root/recipes/gdbm/gdbm_1.8.3.bb
blob: 883022ebfa92ab3e74d4386cd8c5bda80b19ceb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DESCRIPTION = "GNU dbm is a set of database routines that use extensible hashing."
HOMEPAGE = "http://www.gnu.org/software/gdbm/gdbm.html"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPL"

PR = "r3"

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

inherit autotools

TARGET_CC_ARCH += "${LDFLAGS}"

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