summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2010-07-23 12:25:27 +0200
committerHenning Heinold <heinold@inf.fu-berlin.de>2010-07-25 12:13:12 +0200
commit4e18092dc54f570bc6dbebce41733fcf13fde322 (patch)
treed06800600fc43a9009e053c20ba3204a889ffe67
parentf2aee21a9ba6c17dbc8bfe041cd78cba337555dc (diff)
gdbm: switch to BBCLASSEXTENDED and bump PR
-rw-r--r--recipes/gdbm/gdbm-native-1.8.3/makefile.patch59
-rw-r--r--recipes/gdbm/gdbm-native_1.8.3.bb20
-rw-r--r--recipes/gdbm/gdbm_1.8.3.bb9
3 files changed, 3 insertions, 85 deletions
diff --git a/recipes/gdbm/gdbm-native-1.8.3/makefile.patch b/recipes/gdbm/gdbm-native-1.8.3/makefile.patch
deleted file mode 100644
index 5350c53729..0000000000
--- a/recipes/gdbm/gdbm-native-1.8.3/makefile.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
---- gdbm-1.8.3/Makefile.in~makefile
-+++ gdbm-1.8.3/Makefile.in
-@@ -22,6 +22,7 @@
- TEXI2DVI = texi2dvi
-
- DEFS =
-+DESTDIR =
-
- # Where the system [n]dbm routines are...
- LIBS = @LIBS@ -lc
-@@ -127,26 +128,26 @@
- progs: $(PROGS)
-
- install: libgdbm.la gdbm.h gdbm.info
-- $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \
-- $(INSTALL_ROOT)$(includedir) $(INSTALL_ROOT)$(man3dir) \
-- $(INSTALL_ROOT)$(infodir)
-- $(LIBTOOL) $(INSTALL) -c libgdbm.la $(INSTALL_ROOT)$(libdir)/libgdbm.la
-- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) gdbm.h \
-- $(INSTALL_ROOT)$(includedir)/gdbm.h
-- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.3 \
-- $(INSTALL_ROOT)$(man3dir)/gdbm.3
-- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.info \
-- $(INSTALL_ROOT)$(infodir)/gdbm.info
-+ $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \
-+ $(DESTDIR)$(includedir) $(DESTDIR)$(man3dir) \
-+ $(DESTDIR)$(infodir)
-+ $(LIBTOOL) $(INSTALL) -c libgdbm.la $(DESTDIR)$(libdir)/libgdbm.la
-+ $(INSTALL_DATA) gdbm.h \
-+ $(DESTDIR)$(includedir)/gdbm.h
-+ $(INSTALL_DATA) $(srcdir)/gdbm.3 \
-+ $(DESTDIR)$(man3dir)/gdbm.3
-+ $(INSTALL_DATA) $(srcdir)/gdbm.info \
-+ $(DESTDIR)$(infodir)/gdbm.info
-
- install-compat:
-- $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \
-- $(INSTALL_ROOT)$(includedir)
-+ $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \
-+ $(DESTDIR)$(includedir)
- $(LIBTOOL) $(INSTALL) -c libgdbm_compat.la \
-- $(INSTALL_ROOT)$(libdir)/libgdbm_compat.la
-- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/dbm.h \
-- $(INSTALL_ROOT)$(includedir)/dbm.h
-- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/ndbm.h \
-- $(INSTALL_ROOT)$(includedir)/ndbm.h
-+ $(DESTDIR)$(libdir)/libgdbm_compat.la
-+ $(INSTALL_DATA) $(srcdir)/dbm.h \
-+ $(DESTDIR)$(includedir)/dbm.h
-+ $(INSTALL_DATA) $(srcdir)/ndbm.h \
-+ $(DESTDIR)$(includedir)/ndbm.h
-
- #libgdbm.a: $(OBJS) gdbm.h
- # rm -f libgdbm.a
diff --git a/recipes/gdbm/gdbm-native_1.8.3.bb b/recipes/gdbm/gdbm-native_1.8.3.bb
deleted file mode 100644
index 8009e1e26c..0000000000
--- a/recipes/gdbm/gdbm-native_1.8.3.bb
+++ /dev/null
@@ -1,20 +0,0 @@
-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 = "r2"
-
-SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \
- file://makefile.patch"
-S = "${WORKDIR}/gdbm-${PV}"
-
-inherit autotools native
-
-do_stage () {
- oe_libinstall -so -a libgdbm ${STAGING_LIBDIR}
- install -m 0644 ${S}/gdbm.h ${STAGING_INCDIR}/
-}
-
-SRC_URI[md5sum] = "1d1b1d5c0245b1c00aff92da751e9aa1"
-SRC_URI[sha256sum] = "cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a281dc9"
diff --git a/recipes/gdbm/gdbm_1.8.3.bb b/recipes/gdbm/gdbm_1.8.3.bb
index e84777e739..9c91ae9012 100644
--- a/recipes/gdbm/gdbm_1.8.3.bb
+++ b/recipes/gdbm/gdbm_1.8.3.bb
@@ -4,7 +4,7 @@ SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPL"
-PR = "r3"
+PR = "r5"
SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \
file://makefile.patch \
@@ -14,10 +14,7 @@ inherit autotools
TARGET_CC_ARCH += "${LDFLAGS}"
-do_stage () {
- oe_libinstall -so -a libgdbm ${STAGING_LIBDIR}
- install -m 0644 ${S}/gdbm.h ${STAGING_INCDIR}/
-}
-
SRC_URI[md5sum] = "1d1b1d5c0245b1c00aff92da751e9aa1"
SRC_URI[sha256sum] = "cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a281dc9"
+
+BBCLASSEXTEND = "native"