ajout firebird
This commit is contained in:
parent
e233164591
commit
9a51326d12
13 changed files with 176 additions and 0 deletions
13
ressources/firebirdfdw/README.MD
Normal file
13
ressources/firebirdfdw/README.MD
Normal file
|
@ -0,0 +1,13 @@
|
|||
#### firebirdfdw
|
||||
|
||||
##### Information
|
||||
Source : https://github.com/ibarwick/firebird_fdw
|
||||
|
||||
##### Install
|
||||
|
||||
```bash
|
||||
apt install -y wget ca-certificates
|
||||
wget -qO - https://deb.lgy.fr/install.sh | bash
|
||||
apt-get update
|
||||
apt-get install -y firebirdfdw
|
||||
```
|
31
ressources/firebirdfdw/debmaker
Executable file
31
ressources/firebirdfdw/debmaker
Executable file
|
@ -0,0 +1,31 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=1.4.0
|
||||
APP=firebirdfdw
|
||||
DEPOT=https://github.com/ibarwick/firebird_fdw.git
|
||||
GIT_VERSION=${VERSION}
|
||||
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bookworm
|
||||
IMAGE_SIZE=4
|
||||
PACKAGE_DEPENDENCY="build-essential autoconf make postgresql-server-dev-all postgresql firebird-dev libpq-dev libfq"
|
||||
|
||||
main(){
|
||||
configure_depot_lgy
|
||||
base_package_upgrade
|
||||
install_package_dependency
|
||||
get_git_source
|
||||
build
|
||||
makedeb
|
||||
}
|
||||
|
||||
build() {
|
||||
cd /tmp/${APP}
|
||||
make install DESTDIR=/tmp/src/rootfs
|
||||
}
|
||||
|
||||
makedeb(){
|
||||
PATH_DEB=/tmp/src/rootfs
|
||||
|
||||
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||
}
|
0
ressources/firebirdfdw/rootfs/DEBIAN/changelog
Normal file
0
ressources/firebirdfdw/rootfs/DEBIAN/changelog
Normal file
8
ressources/firebirdfdw/rootfs/DEBIAN/control
Normal file
8
ressources/firebirdfdw/rootfs/DEBIAN/control
Normal file
|
@ -0,0 +1,8 @@
|
|||
Package: firebirdfdw
|
||||
Version: %VERSION%
|
||||
Section: contrib
|
||||
Priority: optional
|
||||
Depends: postgresql
|
||||
Architecture: all
|
||||
Maintainer: Thomas Legay <thomas@lgy.fr>
|
||||
Description: firebirdfdw
|
Loading…
Add table
Add a link
Reference in a new issue