new: migrated more packages

This commit is contained in:
ngn
2024-07-27 00:56:23 +03:00
parent 2b4d7c7d6e
commit 4b1ee5d9b2
36 changed files with 328 additions and 4 deletions

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

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

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

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

23
src/m4/pkg.sh Normal file
View 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}"
}