2022-03-20 13:19:37 +01:00
|
|
|
#!/usr/bin/bash
|
|
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
2022-12-15 23:23:19 +01:00
|
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
2022-03-20 13:19:37 +01:00
|
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
2022-12-15 23:23:19 +01:00
|
|
|
# Website : https://pozol.eu
|
2022-03-20 13:19:37 +01:00
|
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
|
|
|
|
pkgname=db
|
2022-12-15 23:23:19 +01:00
|
|
|
pkgver=6.2.32
|
|
|
|
pkgrel=01
|
2022-03-20 13:19:37 +01:00
|
|
|
pkgdesc="The Berkeley DB embedded database system"
|
|
|
|
arch=('x86_64')
|
2022-12-15 23:23:19 +01:00
|
|
|
arch=(x86_64)
|
|
|
|
groups=(jobbot)
|
2022-03-20 13:19:37 +01:00
|
|
|
url="https://www.oracle.com/technology/software/products/berkeley-db/index.html"
|
|
|
|
depends=('gcc-libs' 'sh')
|
2022-12-15 23:23:19 +01:00
|
|
|
source=(https://download.oracle.com/berkeley-db/db-${pkgver}.tar.gz)
|
2022-03-20 13:19:37 +01:00
|
|
|
|
2022-12-15 23:23:19 +01:00
|
|
|
#prepare() {
|
|
|
|
# cd $pkgname-$pkgver
|
|
|
|
# patch -p0 -i ../atomic.patch # Fix build
|
|
|
|
#}
|
2022-03-20 13:19:37 +01:00
|
|
|
|
|
|
|
build() {
|
2022-12-15 23:23:19 +01:00
|
|
|
cd ${pkgname}-${pkgver}/build_unix
|
|
|
|
../dist/configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-compat185 \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-static \
|
|
|
|
--enable-cxx \
|
|
|
|
--enable-dbm \
|
2022-03-20 13:19:37 +01:00
|
|
|
--enable-stl
|
2022-12-15 23:23:19 +01:00
|
|
|
|
2022-03-20 13:19:37 +01:00
|
|
|
make LIBSO_LIBS=-lpthread
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2022-12-15 23:23:19 +01:00
|
|
|
make -C ${pkgname}-${pkgver}/build_unix DESTDIR="${pkgdir}" install
|
2022-03-20 13:19:37 +01:00
|
|
|
rm -r "${pkgdir}"/usr/docs
|
|
|
|
}
|
|
|
|
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
|
2022-12-15 23:23:19 +01:00
|
|
|
license=(AGPL3)
|
|
|
|
|
|
|
|
b2sums=('d3254fba1300d6c7dda5d872c5fa349e8704d71be9c4d37ccf3357782adeb879ce30e066cf083bd97554405c2e94071a96cee16090ad9f797a4fa657ff7e8c46')
|
|
|
|
|
|
|
|
sha256sums=(a9c5e2b004a5777aa03510cfe5cd766a4a3b777713406b02809c17c8e0e7a8fb) # db-6.2.32.tar.gz
|
|
|
|
|
2022-03-20 13:19:37 +01:00
|
|
|
|