Add mealie

This commit is contained in:
thomas 2022-11-19 19:56:01 +01:00
parent 0394ae6c11
commit d020bef34c
33 changed files with 332 additions and 19 deletions

View file

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

32
ressources/crfpp/debmaker Executable file
View file

@ -0,0 +1,32 @@
#!/bin/bash
VERSION=0.59
APP=crfpp
DEPOT=https://github.com/2pc/crfpp.git
GIT_VERSION=last
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=1
PACKAGE_DEPENDENCY="build-essential autoconf"
main(){
base_package_upgrade
install_package_dependency
get_git_source
build
makedeb
}
build() {
cd /tmp/${APP}
sed -i 's/#include "winmain.h"//' crf_*.cpp
./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: crfpp
Version: %VERSION%
Section: contrib
Priority: optional
Architecture: all
Maintainer: Thomas Legay <thomas@lgy.fr>
Description: crfpp