new: migrate even more packages
This commit is contained in:
3
src/gawk/.gitignore
vendored
Normal file
3
src/gawk/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/gawk/changes.md
Normal file
2
src/gawk/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 5.3.0
|
||||
First version
|
25
src/gawk/pkg.sh
Normal file
25
src/gawk/pkg.sh
Normal file
@ -0,0 +1,25 @@
|
||||
# general info
|
||||
NAME="gawk"
|
||||
DESC="GNU awk"
|
||||
VERSION="5.3.0"
|
||||
|
||||
# required files
|
||||
FILES=("https://ftp.gnu.org/gnu/gawk/gawk-${VERSION}.tar.xz")
|
||||
HASHES=("97c5a7d83f91a7e1b2035ebbe6ac7abd")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=("glibc" "mpfr" "bash")
|
||||
BUILD=()
|
||||
|
||||
build(){
|
||||
tar xf "${NAME}-${VERSION}.tar.xz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
sed -i 's/extras//' Makefile.in
|
||||
./configure --prefix=/usr \
|
||||
--host=$LFS_TGT \
|
||||
--build=$(build-aux/config.guess)
|
||||
make && make DESTDIR="${ROOTDIR}" install
|
||||
|
||||
cd .. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
Reference in New Issue
Block a user