: Added Files:
[hdw-repos/packages.git] / demian / bdb / bdb
diff --git a/demian/bdb/bdb b/demian/bdb/bdb
new file mode 100755 (executable)
index 0000000..7c03f76
--- /dev/null
@@ -0,0 +1,17 @@
+# HDW Linux bdb
+#
+# [M] Jonathan J. Vargas demian@hackdaworld.dyndns.org
+# [I] Berkeley DB
+# [V] 3.3.11
+# [S] 3 3
+# [D] db-3.3.11.tar.gz http://www.sleepycat.com/update/snapshot/
+
+build_main()
+{
+    cd build_unix
+    ../dist/configure $confopt --enable-cxx --enable-compat185"
+    make $make_conf ; make $install_conf install && \
+    ln -sf /usr/lib/libdb-3.3.a /usr/lib/libdb-3.a && \
+    ln -sf /usr/lib/libdb-3.3.a /usr/lib/libdb.a 
+    [ -f /usr/include/db3 ] && rm -f /usr/include/db3
+}