new: more package migrations

This commit is contained in:
ngn
2024-07-20 22:52:09 +03:00
parent 983ddd9a38
commit e46f384f6c
69 changed files with 727 additions and 0 deletions

3
src/bison/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/bison/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 3.8.2
First version

22
src/bison/pkg.sh Normal file
View File

@ -0,0 +1,22 @@
# general info
NAME="bison"
DESC="General-purpose parser generator"
VERSION="3.8.2"
# required files
FILES=("https://ftp.gnu.org/gnu/bison/bison-${VERSION}.tar.xz")
HASHES=("c28f119f405a2304ff0a7ccdcc629713")
# install and build depends
DEPENDS=("gettext" "glibc" "m4" "bash")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr --docdir="/usr/share/doc/bison-${VERSION}"
make && make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}