summaryrefslogtreecommitdiffstats
path: root/meta/packages/gdbm
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/gdbm
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gdbm')
-rw-r--r--meta/packages/gdbm/gdbm-1.8.3/libtool-mode.patch20
-rw-r--r--meta/packages/gdbm/gdbm-1.8.3/makefile.patch59
-rw-r--r--meta/packages/gdbm/gdbm-native-1.8.3/makefile.patch59
-rw-r--r--meta/packages/gdbm/gdbm-native_1.8.3.bb17
-rw-r--r--meta/packages/gdbm/gdbm_1.8.3.bb17
5 files changed, 172 insertions, 0 deletions
diff --git a/meta/packages/gdbm/gdbm-1.8.3/libtool-mode.patch b/meta/packages/gdbm/gdbm-1.8.3/libtool-mode.patch
new file mode 100644
index 0000000000..c56bac2ca9
--- /dev/null
+++ b/meta/packages/gdbm/gdbm-1.8.3/libtool-mode.patch
@@ -0,0 +1,20 @@
1--- gdbm-1.8.3/Makefile.in.orig 2006-02-16 15:17:25.000000000 +0000
2+++ gdbm-1.8.3/Makefile.in 2006-02-16 15:18:08.000000000 +0000
3@@ -131,7 +131,7 @@
4 $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \
5 $(DESTDIR)$(includedir) $(DESTDIR)$(man3dir) \
6 $(DESTDIR)$(infodir)
7- $(LIBTOOL) $(INSTALL) -c libgdbm.la $(DESTDIR)$(libdir)/libgdbm.la
8+ $(LIBTOOL) --mode=install $(INSTALL) -c libgdbm.la $(DESTDIR)$(libdir)/libgdbm.la
9 $(INSTALL_DATA) gdbm.h \
10 $(DESTDIR)$(includedir)/gdbm.h
11 $(INSTALL_DATA) $(srcdir)/gdbm.3 \
12@@ -142,7 +142,7 @@
13 install-compat:
14 $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \
15 $(DESTDIR)$(includedir)
16- $(LIBTOOL) $(INSTALL) -c libgdbm_compat.la \
17+ $(LIBTOOL) --mode=install $(INSTALL) -c libgdbm_compat.la \
18 $(DESTDIR)$(libdir)/libgdbm_compat.la
19 $(INSTALL_DATA) $(srcdir)/dbm.h \
20 $(DESTDIR)$(includedir)/dbm.h
diff --git a/meta/packages/gdbm/gdbm-1.8.3/makefile.patch b/meta/packages/gdbm/gdbm-1.8.3/makefile.patch
new file mode 100644
index 0000000000..5350c53729
--- /dev/null
+++ b/meta/packages/gdbm/gdbm-1.8.3/makefile.patch
@@ -0,0 +1,59 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- gdbm-1.8.3/Makefile.in~makefile
7+++ gdbm-1.8.3/Makefile.in
8@@ -22,6 +22,7 @@
9 TEXI2DVI = texi2dvi
10
11 DEFS =
12+DESTDIR =
13
14 # Where the system [n]dbm routines are...
15 LIBS = @LIBS@ -lc
16@@ -127,26 +128,26 @@
17 progs: $(PROGS)
18
19 install: libgdbm.la gdbm.h gdbm.info
20- $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \
21- $(INSTALL_ROOT)$(includedir) $(INSTALL_ROOT)$(man3dir) \
22- $(INSTALL_ROOT)$(infodir)
23- $(LIBTOOL) $(INSTALL) -c libgdbm.la $(INSTALL_ROOT)$(libdir)/libgdbm.la
24- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) gdbm.h \
25- $(INSTALL_ROOT)$(includedir)/gdbm.h
26- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.3 \
27- $(INSTALL_ROOT)$(man3dir)/gdbm.3
28- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.info \
29- $(INSTALL_ROOT)$(infodir)/gdbm.info
30+ $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \
31+ $(DESTDIR)$(includedir) $(DESTDIR)$(man3dir) \
32+ $(DESTDIR)$(infodir)
33+ $(LIBTOOL) $(INSTALL) -c libgdbm.la $(DESTDIR)$(libdir)/libgdbm.la
34+ $(INSTALL_DATA) gdbm.h \
35+ $(DESTDIR)$(includedir)/gdbm.h
36+ $(INSTALL_DATA) $(srcdir)/gdbm.3 \
37+ $(DESTDIR)$(man3dir)/gdbm.3
38+ $(INSTALL_DATA) $(srcdir)/gdbm.info \
39+ $(DESTDIR)$(infodir)/gdbm.info
40
41 install-compat:
42- $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \
43- $(INSTALL_ROOT)$(includedir)
44+ $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \
45+ $(DESTDIR)$(includedir)
46 $(LIBTOOL) $(INSTALL) -c libgdbm_compat.la \
47- $(INSTALL_ROOT)$(libdir)/libgdbm_compat.la
48- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/dbm.h \
49- $(INSTALL_ROOT)$(includedir)/dbm.h
50- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/ndbm.h \
51- $(INSTALL_ROOT)$(includedir)/ndbm.h
52+ $(DESTDIR)$(libdir)/libgdbm_compat.la
53+ $(INSTALL_DATA) $(srcdir)/dbm.h \
54+ $(DESTDIR)$(includedir)/dbm.h
55+ $(INSTALL_DATA) $(srcdir)/ndbm.h \
56+ $(DESTDIR)$(includedir)/ndbm.h
57
58 #libgdbm.a: $(OBJS) gdbm.h
59 # rm -f libgdbm.a
diff --git a/meta/packages/gdbm/gdbm-native-1.8.3/makefile.patch b/meta/packages/gdbm/gdbm-native-1.8.3/makefile.patch
new file mode 100644
index 0000000000..5350c53729
--- /dev/null
+++ b/meta/packages/gdbm/gdbm-native-1.8.3/makefile.patch
@@ -0,0 +1,59 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- gdbm-1.8.3/Makefile.in~makefile
7+++ gdbm-1.8.3/Makefile.in
8@@ -22,6 +22,7 @@
9 TEXI2DVI = texi2dvi
10
11 DEFS =
12+DESTDIR =
13
14 # Where the system [n]dbm routines are...
15 LIBS = @LIBS@ -lc
16@@ -127,26 +128,26 @@
17 progs: $(PROGS)
18
19 install: libgdbm.la gdbm.h gdbm.info
20- $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \
21- $(INSTALL_ROOT)$(includedir) $(INSTALL_ROOT)$(man3dir) \
22- $(INSTALL_ROOT)$(infodir)
23- $(LIBTOOL) $(INSTALL) -c libgdbm.la $(INSTALL_ROOT)$(libdir)/libgdbm.la
24- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) gdbm.h \
25- $(INSTALL_ROOT)$(includedir)/gdbm.h
26- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.3 \
27- $(INSTALL_ROOT)$(man3dir)/gdbm.3
28- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.info \
29- $(INSTALL_ROOT)$(infodir)/gdbm.info
30+ $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \
31+ $(DESTDIR)$(includedir) $(DESTDIR)$(man3dir) \
32+ $(DESTDIR)$(infodir)
33+ $(LIBTOOL) $(INSTALL) -c libgdbm.la $(DESTDIR)$(libdir)/libgdbm.la
34+ $(INSTALL_DATA) gdbm.h \
35+ $(DESTDIR)$(includedir)/gdbm.h
36+ $(INSTALL_DATA) $(srcdir)/gdbm.3 \
37+ $(DESTDIR)$(man3dir)/gdbm.3
38+ $(INSTALL_DATA) $(srcdir)/gdbm.info \
39+ $(DESTDIR)$(infodir)/gdbm.info
40
41 install-compat:
42- $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \
43- $(INSTALL_ROOT)$(includedir)
44+ $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \
45+ $(DESTDIR)$(includedir)
46 $(LIBTOOL) $(INSTALL) -c libgdbm_compat.la \
47- $(INSTALL_ROOT)$(libdir)/libgdbm_compat.la
48- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/dbm.h \
49- $(INSTALL_ROOT)$(includedir)/dbm.h
50- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/ndbm.h \
51- $(INSTALL_ROOT)$(includedir)/ndbm.h
52+ $(DESTDIR)$(libdir)/libgdbm_compat.la
53+ $(INSTALL_DATA) $(srcdir)/dbm.h \
54+ $(DESTDIR)$(includedir)/dbm.h
55+ $(INSTALL_DATA) $(srcdir)/ndbm.h \
56+ $(DESTDIR)$(includedir)/ndbm.h
57
58 #libgdbm.a: $(OBJS) gdbm.h
59 # rm -f libgdbm.a
diff --git a/meta/packages/gdbm/gdbm-native_1.8.3.bb b/meta/packages/gdbm/gdbm-native_1.8.3.bb
new file mode 100644
index 0000000000..adfc0459c2
--- /dev/null
+++ b/meta/packages/gdbm/gdbm-native_1.8.3.bb
@@ -0,0 +1,17 @@
1DESCRIPTION = "GNU dbm is a set of database routines that use extensible hashing."
2HOMEPAGE = "http://www.gnu.org/software/gdbm/gdbm.html"
3SECTION = "libs"
4PRIORITY = "optional"
5LICENSE = "GPL"
6PR = "r2"
7
8SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \
9 file://makefile.patch;patch=1"
10S = "${WORKDIR}/gdbm-${PV}"
11
12inherit autotools native
13
14do_stage () {
15 oe_libinstall -so -a libgdbm ${STAGING_LIBDIR}
16 install -m 0644 ${S}/gdbm.h ${STAGING_INCDIR}/
17}
diff --git a/meta/packages/gdbm/gdbm_1.8.3.bb b/meta/packages/gdbm/gdbm_1.8.3.bb
new file mode 100644
index 0000000000..ecef5fc414
--- /dev/null
+++ b/meta/packages/gdbm/gdbm_1.8.3.bb
@@ -0,0 +1,17 @@
1DESCRIPTION = "GNU dbm is a set of database routines that use extensible hashing."
2HOMEPAGE = "http://www.gnu.org/software/gdbm/gdbm.html"
3SECTION = "libs"
4PRIORITY = "optional"
5LICENSE = "GPL"
6PR = "r2"
7
8SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \
9 file://makefile.patch;patch=1 \
10 file://libtool-mode.patch;patch=1"
11
12inherit autotools
13
14do_stage () {
15 oe_libinstall -so -a libgdbm ${STAGING_LIBDIR}
16 install -m 0644 ${S}/gdbm.h ${STAGING_INCDIR}/
17}