diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
commit | 21f9b84b4b729fbd7acbd465e7a3f726e4d20f91 (patch) | |
tree | eb2d091d427ca0813b445509d59cc8e27e8ad25f /yocto-poky/meta/recipes-support/gdbm/gdbm_1.8.3.bb | |
parent | 101cef31e2bf54c678501155cd2106251acbd076 (diff) | |
parent | c124f4f2e04dca16a428a76c89677328bc7bf908 (diff) | |
download | openbmc-21f9b84b4b729fbd7acbd465e7a3f726e4d20f91.tar.xz |
Merge commit 'c124f4f2e04dca16a428a76c89677328bc7bf908' as 'yocto-poky'
Diffstat (limited to 'yocto-poky/meta/recipes-support/gdbm/gdbm_1.8.3.bb')
-rw-r--r-- | yocto-poky/meta/recipes-support/gdbm/gdbm_1.8.3.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-support/gdbm/gdbm_1.8.3.bb b/yocto-poky/meta/recipes-support/gdbm/gdbm_1.8.3.bb new file mode 100644 index 000000000..af01b6c40 --- /dev/null +++ b/yocto-poky/meta/recipes-support/gdbm/gdbm_1.8.3.bb @@ -0,0 +1,29 @@ +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 texinfo + +BBCLASSEXTEND = "native nativesdk" + +do_install_append () { + install -d ${D}${includedir}/gdbm + install -m 0644 ${S}/dbm.h ${D}${includedir}/ + install -m 0644 ${S}/ndbm.h ${D}${includedir}/ + # Create a symlink to ndbm.h and gdbm.h in include/gdbm to let other packages to find + # these headers + ln -sf ../ndbm.h ${D}/${includedir}/gdbm/ndbm.h + ln -sf ../gdbm.h ${D}/${includedir}/gdbm/gdbm.h +} |