[http://repository.maemo.org/pool/fremantle/free/h/hildon-games-wrapper/hildon-games-wrapper_1.9.4-3+0m5.tar.gz]
md5=b7f42ba430cef82ce5be60a7c316a49f
sha256=7d783192fde34f0406d1952c95660da2afcfc2eaea28ce0cfb2c6c3a2403dc75
+
+[http://repository.maemo.org/pool/fremantle/free/libd/libdb1/libdb1_1.85.4-osso8.tar.gz]
+md5=2a057660c50af5e27a35604b0184553b
+sha256=9dff374046253ba9e0637b65e0c935fe08d2b5c30d0e81f061040277ec2123fe
--- /dev/null
+diff --git Makefile Makefile
+index fa174e1..86fb642 100644
+--- Makefile
++++ Makefile
+@@ -1,11 +1,11 @@
+ # @(#)Makefile 8.9 (Berkeley) 7/14/94
+
+-prefix = /root/usr
+-libdir = ${prefix}/lib
+-includedir = ${prefix}/include
++#prefix = /root/usr
++#libdir = ${prefix}/lib
++#includedir = ${prefix}/include
+
+-INSTALL = install -c
+-LN = ln -s
++#INSTALL = install -c
++#LN = ln -s
+
+ LIBNAME = libdb
+ MAJ_VERSION = 1
+@@ -16,7 +16,7 @@ VERSION = ${MAJ_VERSION}.${MIN_VERSION}.${TINY_VERSION}
+ LIBDB = ${LIBNAME}.a
+ SHLIBDB = ${LIBNAME}.so.${VERSION}
+ SONAME = ${LIBNAME}.so.${MAJ_VERSION}
+-CC := /usr/bin/gcc
++#CC := /usr/bin/gcc
+
+ OBJ1= hash.o hash_bigkey.o hash_buf.o \
+ hash_func.o hash_log2.o hash_page.o \
+@@ -46,14 +46,14 @@ ${SHLIBDB}: ${OBJS}
+ ${CC} -shared -Wl,-soname,${SONAME} -Wl,-lc shared/*.o -o $@
+
+ install:
+- -mkdir ${libdir}
+- -mkdir ${includedir}
+- ${INSTALL} -m 644 ${LIBDB} ${libdir}/${LIBDB}
+- ${INSTALL} -m 755 ${SHLIBDB} ${libdir}/${SHLIBDB}
+- (cd ${libdir}; ${LN} ${SHLIBDB} ${SONAME})
++ install -d ${D}${libdir}
++ install -d ${D}${includedir}
++ install -m 644 ${LIBDB} ${D}${libdir}/${LIBDB}
++ install -m 755 ${SHLIBDB} ${D}${libdir}/${SHLIBDB}
++ (cd ${D}${libdir}; ln -s ${SHLIBDB} ${SONAME})
+ # ${LN} ${libdir}/${SHLIBDB} ${libdir}/${LIBNAME}.so
+- ${INSTALL} -m 644 include/mpool.h ${includedir}/mpool.h
+- ${INSTALL} -m 644 include/db.h ${includedir}/db.h
++ install -m 644 include/mpool.h ${D}${includedir}/mpool.h
++ install -m 644 include/db.h ${D}${includedir}/db.h
+
+ clean:
+ rm -f ${LIBDB} ${SHLIBDB}
--- /dev/null
+# Copyright (C) 2009 Kirtika Ruchandani <kirtibr@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Berkeley database library"
+HOMEPAGE = "unknown"
+LICENSE = "UCB BSD license"
+SECTION = "libs"
+PR = "r0"
+
+SRC_URI = "http://repository.maemo.org/pool/fremantle/free/libd/${PN}/${PN}_${PV}-osso8.tar.gz \
+ file://libdb1/makefile.patch;patch=1;pnum=0 "
+
+
+S = "${WORKDIR}/${PN}-${PV}/PORT/linux"
+
+do_compile() {
+ oe_runmake PREFIX=${prefix} libdir=${libdir} includedir=${includedir} D=${D}
+}
+
+do_install() {
+ oe_runmake PREFIX=${prefix} libdir=${libdir} includedir=${includedir} D=${D} DESTDIR=${D} install
+}
+
+
+