From b8586a08bf43f548d78dba205805cf71ccc03b33 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Thu, 21 Jun 2018 10:50:11 +0200 Subject: [PATCH] db: restored and fixed build triplet --- db/.footprint | 33 +++++++++++++++++++++++++++++++++ db/.md5sum | 1 + db/Pkgfile | 22 ++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 db/.footprint create mode 100644 db/.md5sum create mode 100644 db/Pkgfile diff --git a/db/.footprint b/db/.footprint new file mode 100644 index 0000000..291960b --- /dev/null +++ b/db/.footprint @@ -0,0 +1,33 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/db_archive +-rwxr-xr-x root/root usr/bin/db_checkpoint +-rwxr-xr-x root/root usr/bin/db_deadlock +-rwxr-xr-x root/root usr/bin/db_dump +-rwxr-xr-x root/root usr/bin/db_hotbackup +-rwxr-xr-x root/root usr/bin/db_load +-rwxr-xr-x root/root usr/bin/db_log_verify +-rwxr-xr-x root/root usr/bin/db_printlog +-rwxr-xr-x root/root usr/bin/db_recover +-rwxr-xr-x root/root usr/bin/db_replicate +-rwxr-xr-x root/root usr/bin/db_stat +-rwxr-xr-x root/root usr/bin/db_tuner +-rwxr-xr-x root/root usr/bin/db_upgrade +-rwxr-xr-x root/root usr/bin/db_verify +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/db.h +-rw-r--r-- root/root usr/include/db_185.h +-rw-r--r-- root/root usr/include/db_cxx.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libdb-5.3.a +-rw-r--r-- root/root usr/lib/libdb-5.3.la +-rwxr-xr-x root/root usr/lib/libdb-5.3.so +lrwxrwxrwx root/root usr/lib/libdb-5.so -> libdb-5.3.so +-rw-r--r-- root/root usr/lib/libdb.a +lrwxrwxrwx root/root usr/lib/libdb.so -> libdb-5.3.so +-rw-r--r-- root/root usr/lib/libdb_cxx-5.3.a +-rw-r--r-- root/root usr/lib/libdb_cxx-5.3.la +-rwxr-xr-x root/root usr/lib/libdb_cxx-5.3.so +lrwxrwxrwx root/root usr/lib/libdb_cxx-5.so -> libdb_cxx-5.3.so +-rw-r--r-- root/root usr/lib/libdb_cxx.a +lrwxrwxrwx root/root usr/lib/libdb_cxx.so -> libdb_cxx-5.3.so diff --git a/db/.md5sum b/db/.md5sum new file mode 100644 index 0000000..3448f36 --- /dev/null +++ b/db/.md5sum @@ -0,0 +1 @@ +b99454564d5b4479750567031d66fe24 db-5.3.28.tar.gz diff --git a/db/Pkgfile b/db/Pkgfile new file mode 100644 index 0000000..022f3e7 --- /dev/null +++ b/db/Pkgfile @@ -0,0 +1,22 @@ +# Description: Berkeley DB +# URL: http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/ +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=db +version=5.3.28 +release=1 +source=(http://download.oracle.com/berkeley-db/$name-$version.tar.gz) + +build() { + cd $name-$version/build_unix + ../dist/configure --prefix=/usr \ + --build=arm-unknown-linux-gnu \ + --enable-compat185 \ + --enable-shared \ + --enable-static \ + --enable-cxx + make + make DESTDIR=$PKG install + rm -r $PKG/usr/docs + chmod -R +w $PKG +} -- 2.26.2