mirror of
https://github.com/YellowJacketLinux/lfs-buildscripts.git
synced 2025-02-02 23:07:18 +08:00
more build utilities
This commit is contained in:
parent
b2e82d4f21
commit
43baec3c16
@ -21,13 +21,13 @@ cd m4-${m4_version}
|
||||
make
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed building libstdc++"
|
||||
myfail "Failed building m4"
|
||||
fi
|
||||
|
||||
make DESTDIR=${LFS} install
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed installing libstdc++"
|
||||
myfail "Failed installing m4"
|
||||
fi
|
||||
|
||||
|
||||
|
34
CH06.07-findutils.sh
Normal file
34
CH06.07-findutils.sh
Normal file
@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
|
||||
source versions.sh
|
||||
|
||||
GLSOURCES="${LFS}/sources"
|
||||
|
||||
if [ "`whoami`" != "lfs" ]; then
|
||||
myfail "Must run this script as lfs user"
|
||||
fi
|
||||
|
||||
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
||||
|
||||
tar -Jxf ${findutils_tarball}
|
||||
|
||||
cd findutils-${findutils_version}
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--localstatedir=/var/lib/locate \
|
||||
--host=${LFS_TGT} \
|
||||
--build=$(build-aux/config.guess)
|
||||
|
||||
make
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed building findutils"
|
||||
fi
|
||||
|
||||
make DESTDIR=${LFS} install
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed installing findutils"
|
||||
fi
|
||||
|
||||
|
35
CH06.08-gawk.sh
Normal file
35
CH06.08-gawk.sh
Normal file
@ -0,0 +1,35 @@
|
||||
#!/bin/bash
|
||||
|
||||
source versions.sh
|
||||
|
||||
GLSOURCES="${LFS}/sources"
|
||||
|
||||
if [ "`whoami`" != "lfs" ]; then
|
||||
myfail "Must run this script as lfs user"
|
||||
fi
|
||||
|
||||
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
||||
|
||||
tar -Jxf ${gawk_tarball}
|
||||
|
||||
cd gawk-${gawk_version}
|
||||
|
||||
sed -i 's/extras//' Makefile.in
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--host=${LFS_TGT} \
|
||||
--build=$(build-aux/config.guess)
|
||||
|
||||
make
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed building gawk"
|
||||
fi
|
||||
|
||||
make DESTDIR=${LFS} install
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed installing gawk"
|
||||
fi
|
||||
|
||||
|
33
CH06.09-grep.sh
Normal file
33
CH06.09-grep.sh
Normal file
@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
|
||||
source versions.sh
|
||||
|
||||
GLSOURCES="${LFS}/sources"
|
||||
|
||||
if [ "`whoami`" != "lfs" ]; then
|
||||
myfail "Must run this script as lfs user"
|
||||
fi
|
||||
|
||||
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
||||
|
||||
tar -Jxf ${grep_tarball}
|
||||
|
||||
cd grep-${grep_version}
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--host=${LFS_TGT} \
|
||||
--build=$(build-aux/config.guess)
|
||||
|
||||
make
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed building grep"
|
||||
fi
|
||||
|
||||
make DESTDIR=${LFS} install
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed installing grep"
|
||||
fi
|
||||
|
||||
|
32
CH06.10-gzip.sh
Normal file
32
CH06.10-gzip.sh
Normal file
@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
|
||||
source versions.sh
|
||||
|
||||
GLSOURCES="${LFS}/sources"
|
||||
|
||||
if [ "`whoami`" != "lfs" ]; then
|
||||
myfail "Must run this script as lfs user"
|
||||
fi
|
||||
|
||||
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
||||
|
||||
tar -Jxf ${gzip_tarball}
|
||||
|
||||
cd gzip-${gzip_version}
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--host=${LFS_TGT}
|
||||
|
||||
make
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed building gzip"
|
||||
fi
|
||||
|
||||
make DESTDIR=${LFS} install
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed installing gzip"
|
||||
fi
|
||||
|
||||
|
34
CH06.11-make.sh
Normal file
34
CH06.11-make.sh
Normal file
@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
|
||||
source versions.sh
|
||||
|
||||
GLSOURCES="${LFS}/sources"
|
||||
|
||||
if [ "`whoami`" != "lfs" ]; then
|
||||
myfail "Must run this script as lfs user"
|
||||
fi
|
||||
|
||||
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
||||
|
||||
tar -zxf ${make_tarball}
|
||||
|
||||
cd make-${make_version}
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--without-guile \
|
||||
--host=${LFS_TGT} \
|
||||
--build=$(build-aux/config.guess)
|
||||
|
||||
make
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed building make"
|
||||
fi
|
||||
|
||||
make DESTDIR=${LFS} install
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed installing make"
|
||||
fi
|
||||
|
||||
|
25
versions.sh
25
versions.sh
@ -94,9 +94,10 @@ file_dnl="https://astron.com/pub/file/file-${file_version}.tar.gz"
|
||||
file_sha256="fc97f51029bb0e2c9f4e3bffefdaf678f0e039ee872b9de5c002a6d09c784d82"
|
||||
file_tarball="file-${file_version}.tar.gz"
|
||||
|
||||
findutils_dnl="https://ftp.gnu.org/gnu/findutils/findutils-4.10.0.tar.xz"
|
||||
findutils_version="4.10.0"
|
||||
findutils_dnl="https://ftp.gnu.org/gnu/findutils/findutils-${findutils_version}.tar.xz"
|
||||
findutils_sha256="1387e0b67ff247d2abde998f90dfbf70c1491391a59ddfecb8ae698789f0a4f5"
|
||||
findutils_tarball="findutils-4.10.0.tar.xz"
|
||||
findutils_tarball="findutils-${findutils_version}.tar.xz"
|
||||
|
||||
flex_dnl="https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz"
|
||||
flex_sha256="e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995"
|
||||
@ -106,9 +107,10 @@ flit_core_dnl="https://pypi.org/packages/source/f/flit-core/flit_core-3.9.0.tar.
|
||||
flit_core_sha256="72ad266176c4a3fcfab5f2930d76896059851240570ce9a98733b658cb786eba"
|
||||
flit_core_tarball="flit_core-3.9.0.tar.gz"
|
||||
|
||||
gawk_dnl="https://ftp.gnu.org/gnu/gawk/gawk-5.3.0.tar.xz"
|
||||
gawk_version="5.3.0"
|
||||
gawk_dnl="https://ftp.gnu.org/gnu/gawk/gawk-${gawk_version}.tar.xz"
|
||||
gawk_sha256="ca9c16d3d11d0ff8c69d79dc0b47267e1329a69b39b799895604ed447d3ca90b"
|
||||
gawk_tarball="gawk-5.3.0.tar.xz"
|
||||
gawk_tarball="gawk-${gawk_version}.tar.xz"
|
||||
|
||||
gcc_version="14.2.0"
|
||||
gcc_dnl="https://ftp.gnu.org/gnu/gcc/gcc-${gcc_version}/gcc-${gcc_version}.tar.xz"
|
||||
@ -141,9 +143,10 @@ gperf_dnl="https://ftp.gnu.org/gnu/gperf/gperf-3.1.tar.gz"
|
||||
gperf_sha256="588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2"
|
||||
gperf_tarball="gperf-3.1.tar.gz"
|
||||
|
||||
grep_dnl="https://ftp.gnu.org/gnu/grep/grep-3.11.tar.xz"
|
||||
grep_version="3.11"
|
||||
grep_dnl="https://ftp.gnu.org/gnu/grep/grep-${grep_version}.tar.xz"
|
||||
grep_sha256="1db2aedde89d0dea42b16d9528f894c8d15dae4e190b59aecc78f5a951276eab"
|
||||
grep_tarball="grep-3.11.tar.xz"
|
||||
grep_tarball="grep-${grep_version}.tar.xz"
|
||||
|
||||
groff_dnl="https://ftp.gnu.org/gnu/groff/groff-1.23.0.tar.gz"
|
||||
groff_sha256="6b9757f592b7518b4902eb6af7e54570bdccba37a871fddb2d30ae3863511c13"
|
||||
@ -153,9 +156,10 @@ grub_dnl="https://ftp.gnu.org/gnu/grub/grub-2.12.tar.xz"
|
||||
grub_sha256="f3c97391f7c4eaa677a78e090c7e97e6dc47b16f655f04683ebd37bef7fe0faa"
|
||||
grub_tarball="grub-2.12.tar.xz"
|
||||
|
||||
gzip_dnl="https://ftp.gnu.org/gnu/gzip/gzip-1.13.tar.xz"
|
||||
gzip_version="1.13"
|
||||
gzip_dnl="https://ftp.gnu.org/gnu/gzip/gzip-${gzip_version}.tar.xz"
|
||||
gzip_sha256="7454eb6935db17c6655576c2e1b0fabefd38b4d0936e0f87f48cd062ce91a057"
|
||||
gzip_tarball="gzip-1.13.tar.xz"
|
||||
gzip_tarball="gzip-${gzip_version}.tar.xz"
|
||||
|
||||
iana_etc_dnl="https://github.com/Mic92/iana-etc/releases/download/20240806/iana-etc-20240806.tar.gz"
|
||||
iana_etc_sha256="672dbe1ba52b889a46dc07ee3876664ed601983239f82d729d02a002475a5b66"
|
||||
@ -231,9 +235,10 @@ m4_dnl="https://ftp.gnu.org/gnu/m4/m4-${m4_version}.tar.xz"
|
||||
m4_sha256="63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96"
|
||||
m4_tarball="m4-${m4_version}.tar.xz"
|
||||
|
||||
make_dnl="https://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz"
|
||||
make_version="4.4.1"
|
||||
make_dnl="https://ftp.gnu.org/gnu/make/make-${make_version}.tar.gz"
|
||||
make_sha256="dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3"
|
||||
make_tarball="make-4.4.1.tar.gz"
|
||||
make_tarball="make-${make_version}.tar.gz"
|
||||
|
||||
mandb_dnl="https://download.savannah.gnu.org/releases/man-db/man-db-2.12.1.tar.xz"
|
||||
mandb_sha256="ddee249daeb78cf92bab794ccd069cc8b575992265ea20e239e887156e880265"
|
||||
|
Loading…
Reference in New Issue
Block a user