new: more package migrations
This commit is contained in:
3
src/bison/.gitignore
vendored
Normal file
3
src/bison/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/bison/changes.md
Normal file
2
src/bison/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 3.8.2
|
||||
First version
|
22
src/bison/pkg.sh
Normal file
22
src/bison/pkg.sh
Normal 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}"
|
||||
}
|
Reference in New Issue
Block a user