ajout firebird

This commit is contained in:
Thomas Legay 2024-11-11 00:11:03 +01:00
parent e233164591
commit 9a51326d12
13 changed files with 176 additions and 0 deletions

View file

@ -0,0 +1,14 @@
#### libfq
##### Information
Source : https://github.com/ibarwick/libfq
##### Install
```bash
apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt-get install -y libfq
```

31
ressources/libfq/debmaker Executable file
View file

@ -0,0 +1,31 @@
#!/bin/bash
VERSION=0.6.1
APP=libfq
DEPOT=https://github.com/ibarwick/libfq.git
GIT_VERSION=${VERSION}
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=4
PACKAGE_DEPENDENCY="build-essential firebird-dev"
main(){
base_package_upgrade
install_package_dependency
get_git_source
build
makedeb
}
build() {
cd /tmp/${APP}
./configure --prefix=/tmp/src/rootfs/usr
make install
}
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
}

View file

View file

@ -0,0 +1,7 @@
Package: libfq
Version: %VERSION%
Section: contrib
Priority: optional
Architecture: all
Maintainer: Thomas Legay <thomas@lgy.fr>
Description: libfq