new: migrated more packages
This commit is contained in:
3
src/m4/.gitignore
vendored
Normal file
3
src/m4/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/m4/changes.md
Normal file
2
src/m4/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 1.4.19
|
||||
First version
|
23
src/m4/pkg.sh
Normal file
23
src/m4/pkg.sh
Normal file
@ -0,0 +1,23 @@
|
||||
# general info
|
||||
NAME="m4"
|
||||
DESC="Implementation of the traditional Unix macro processor"
|
||||
VERSION="1.4.19"
|
||||
|
||||
# required files
|
||||
FILES=("https://ftp.gnu.org/gnu/m4/m4-${VERSION}.tar.xz")
|
||||
HASHES=("0d90823e1426f1da2fd872df0311298d")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=("bash" "glibc")
|
||||
BUILD=()
|
||||
|
||||
build(){
|
||||
tar xf "${NAME}-${VERSION}.tar.xz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
|
||||
cd .. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
Reference in New Issue
Block a user