blob: af01b6c4071a870ef93c3a296ee32a3da3bea27b [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Key/value database library with extensible hashing"
2HOMEPAGE = "http://www.gnu.org/software/gdbm/"
3SECTION = "libs"
4LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d8e20eece214df8ef953ed5857862150"
6
7PR = "r4"
8
9SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \
10 file://makefile.patch \
11 file://libtool-mode.patch \
12 file://ldflags.patch"
13
14SRC_URI[md5sum] = "1d1b1d5c0245b1c00aff92da751e9aa1"
15SRC_URI[sha256sum] = "cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a281dc9"
16
17inherit autotools texinfo
18
19BBCLASSEXTEND = "native nativesdk"
20
21do_install_append () {
22 install -d ${D}${includedir}/gdbm
23 install -m 0644 ${S}/dbm.h ${D}${includedir}/
24 install -m 0644 ${S}/ndbm.h ${D}${includedir}/
25 # Create a symlink to ndbm.h and gdbm.h in include/gdbm to let other packages to find
26 # these headers
27 ln -sf ../ndbm.h ${D}/${includedir}/gdbm/ndbm.h
28 ln -sf ../gdbm.h ${D}/${includedir}/gdbm/gdbm.h
29}