mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
32 lines
997 B
Text
32 lines
997 B
Text
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=postgresql-orafce
|
|
_pkgname=orafce
|
|
pkgver=3.9.0
|
|
_pkgver=VERSION_${pkgver//./_}
|
|
pkgrel=0
|
|
pkgdesc="Oracle's compatibility functions and packages for PostgreSQL"
|
|
url="https://github.com/orafce/orafce"
|
|
arch="all"
|
|
license="BSD"
|
|
depends="postgresql"
|
|
makedepends="bison flex postgresql-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/orafce/$_pkgname/archive/$_pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$_pkgver"
|
|
options="!check" # XXX: installcheck requires running PostgreSQL
|
|
|
|
build() {
|
|
make USE_PGXS=1 all
|
|
}
|
|
|
|
package() {
|
|
make USE_PGXS=1 DESTDIR="$pkgdir" install
|
|
|
|
cd "$pkgdir"
|
|
mv ./usr/share/doc/postgresql/extension \
|
|
./usr/share/doc/$pkgname
|
|
rmdir ./usr/share/doc/postgresql
|
|
}
|
|
|
|
sha512sums="7c439f05a6cdc16b65d44c1511bd33f18ff8a26c0e3e8ecf03862e569e17a05274db138e5970d92f00aa620028795bd59c302c224a1d798bd1e91cee834dc067 postgresql-orafce-3.9.0.tar.gz"
|