forked from alnux/repo
Compare commits
No commits in common. "97143b0f944423286603ade86d86a2047c30bc7a" and "9ce1bcac8c21e00bc88f04232d3b2c32e4acb437" have entirely different histories.
97143b0f94
...
9ce1bcac8c
42 changed files with 86 additions and 211 deletions
|
@ -1,5 +1,5 @@
|
||||||
pkg_config_deploy=true
|
pkg_config_deploy=true
|
||||||
pkg_config_ver="0.5"
|
pkg_config_ver="0.3"
|
||||||
pkg_config_name="alnux"
|
pkg_config_name="alnux"
|
||||||
pkg_config_makedepends=""
|
pkg_config_makedepends=""
|
||||||
pkg_config_depends=""
|
pkg_config_depends=""
|
|
@ -2,6 +2,3 @@ NAME="alnux"
|
||||||
PRETTY_NAME="alnux"
|
PRETTY_NAME="alnux"
|
||||||
ID=alnux
|
ID=alnux
|
||||||
BUILD_ID=rolling
|
BUILD_ID=rolling
|
||||||
HOME_URL=https://git.hippoz.xyz/alnux
|
|
||||||
SUPPORT_URL=https://git.hippoz.xyz/alnux/aps/issues
|
|
||||||
BUG_REPORT_URL=https://git.hippoz.xyz/alnux/aps/issues
|
|
|
@ -1,9 +1,7 @@
|
||||||
wget https://ftp.gnu.org/gnu/bash/bash-5.1.8.tar.gz
|
wget https://ftp.gnu.org/gnu/bash/bash-5.1.8.tar.gz
|
||||||
tar -xf bash-5.1.8.tar.gz
|
tar -xf bash-5.1.8.tar.gz
|
||||||
cd bash-5.1.8
|
cd bash-5.1.8
|
||||||
|
|
||||||
sed -e 's/$(prefix)/$(DESTDIR)$(prefix)/g' -i Makefile
|
sed -e 's/$(prefix)/$(DESTDIR)$(prefix)/g' -i Makefile
|
||||||
|
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
make install DESTDIR="$1"
|
make install DESTDIR="$1"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
wget -O binutils-2.36.1.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz
|
wget -O binutils-2.36.1.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz
|
||||||
tar -xf binutils-2.36.1.tar.xz
|
tar -xf binutils-2.36.1.tar.xz
|
||||||
cd binutils-2.36.1
|
cd binutils-2.36.1
|
||||||
|
|
||||||
chmod +x makeinfo
|
chmod +x makeinfo
|
||||||
export PATH=$PATH:$PWD
|
export PATH=$PATH:$PWD
|
||||||
./configure \
|
./configure \
|
||||||
|
@ -24,5 +23,4 @@ export PATH=$PATH:$PWD
|
||||||
make configure-host
|
make configure-host
|
||||||
make tooldir=/usr
|
make tooldir=/usr
|
||||||
make DESTDIR="$1" tooldir=/usr install
|
make DESTDIR="$1" tooldir=/usr install
|
||||||
|
|
||||||
ln -sf ld.bfd "$1/usr/bin/ld"
|
ln -sf ld.bfd "$1/usr/bin/ld"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
wget https://ftp.gnu.org/gnu/bison/bison-3.7.6.tar.xz
|
wget https://ftp.gnu.org/gnu/bison/bison-3.7.6.tar.xz
|
||||||
tar -xf bison-3.7.6.tar.xz
|
tar -xf bison-3.7.6.tar.xz
|
||||||
cd bison-3.7.6
|
cd bison-3.7.6
|
||||||
|
|
||||||
./configure --prefix=/usr --docdir=/usr/share/doc/bison-3.7.6
|
./configure --prefix=/usr --docdir=/usr/share/doc/bison-3.7.6
|
||||||
make
|
make
|
||||||
make install DESTDIR="$1"
|
make install DESTDIR="$1"
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
wget -O busybox-1.33.1.tar.bz2 https://busybox.net/downloads/busybox-1.33.1.tar.bz2
|
wget -O busybox-1.33.1.tar.bz2 https://busybox.net/downloads/busybox-1.33.1.tar.bz2
|
||||||
tar -xf busybox-1.33.1.tar.bz2
|
tar -xf busybox-1.33.1.tar.bz2
|
||||||
cd busybox-1.33.1
|
cd busybox-1.33.1
|
||||||
|
|
||||||
make defconfig
|
make defconfig
|
||||||
LDFLAGS="--static" make
|
LDFLAGS="--static" make
|
||||||
make install DESTDIR="$1"
|
make install DESTDIR="$1"
|
||||||
|
|
||||||
cd "_install"
|
cd "_install"
|
||||||
install linuxrc "$1"/linuxrc
|
install linuxrc "$1"/linuxrc
|
||||||
rsync -a ./bin/ "$1"/bin/
|
rsync -a ./bin/ "$1"/bin/
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
# /bin/busybox --install
|
#/bin/busybox --install
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
wget -O bzip2-1.0.8.tar.gz https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
|
wget -O bzip2-1.0.8.tar.gz https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
|
||||||
tar -xf bzip2-1.0.8.tar.gz
|
tar -xf bzip2-1.0.8.tar.gz
|
||||||
cd bzip2-1.0.8
|
cd bzip2-1.0.8
|
||||||
|
|
||||||
make CC="${CC:-cc} $CFLAGS -fPIC $LDFLAGS" -f Makefile-libbz2_so
|
make CC="${CC:-cc} $CFLAGS -fPIC $LDFLAGS" -f Makefile-libbz2_so
|
||||||
make CC="${CC:-cc} $CFLAGS -static -fPIC $LDFLAGS" bzip2
|
make CC="${CC:-cc} $CFLAGS -static -fPIC $LDFLAGS" bzip2
|
||||||
|
|
||||||
mkdir -p "$1/usr/bin" "$1/usr/lib" "$1/usr/share/man/man1" "$1/usr/include"
|
mkdir -p "$1/usr/bin" "$1/usr/lib" "$1/usr/share/man/man1" "$1/usr/include"
|
||||||
cp -f bzip2 bzdiff bzgrep bzmore "$1/usr/bin"
|
cp -f bzip2 bzdiff bzgrep bzmore "$1/usr/bin"
|
||||||
cp -f libbz2.so.1.0.8 libbz2.a "$1/usr/lib"
|
cp -f libbz2.so.1.0.8 libbz2.a "$1/usr/lib"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
wget https://github.com/Kitware/CMake/releases/download/v3.21.0-rc2/cmake-3.21.0-rc2.tar.gz
|
wget https://github.com/Kitware/CMake/releases/download/v3.21.0-rc2/cmake-3.21.0-rc2.tar.gz
|
||||||
tar -xf cmake-3.21.0-rc2.tar.gz
|
tar -xf cmake-3.21.0-rc2.tar.gz
|
||||||
cd cmake-3.21.0-rc2.tar.gz
|
cd cmake-3.21.0-rc2.tar.gz
|
||||||
|
|
||||||
./bootstrap
|
./bootstrap
|
||||||
make
|
make
|
||||||
make DESTDIR="$1" install
|
make install DESTDIR="$1"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
wget https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.2.tar.gz
|
wget https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.2.tar.gz
|
||||||
tar -xf ncurses-6.2.tar.gz
|
tar -xf ncurses-6.2.tar.gz
|
||||||
cd ncurses-6.2
|
cd ncurses-6.2
|
||||||
|
|
||||||
sed -i s/mawk// configure
|
sed -i s/mawk// configure
|
||||||
mkdir build
|
mkdir build
|
||||||
pushd build
|
pushd build
|
||||||
|
@ -9,47 +8,47 @@ pushd build
|
||||||
make -C in`clude
|
make -C in`clude
|
||||||
make -C progs tic
|
make -C progs tic
|
||||||
popd
|
popd
|
||||||
./configure --prefix=/usr --build=$(./config.guess) --mandir=/usr/share/man --with-manpage-format=normal --with-shared --without-debug --without-ada --without-normal --enable-widec --with-pkg-config-libdir=/usr/lib/ncurses//lib/pkgconfig
|
./configure --prefix=/usr --build=$(./config.guess) --mandir=/usr/share/man --with-manpage-format=normal --with-shared --without-debug --without-ada --without-normal --enable-widec --with-pkg-config-libdir=/usr/lib/ncurses/6_2/lib/pkgconfig
|
||||||
make
|
make
|
||||||
make DESTDIR="$1" install
|
make DESTDIR="$1" install
|
||||||
ln -s $1/usr/lib/ncurses/bin/captoinfo $1/usr/bin/
|
ln -s $1/usr/lib/ncurses/6_2/bin/captoinfo $1/usr/bin/
|
||||||
ln -s $1/usr/lib/ncurses/bin/clear $1/usr/bin/
|
ln -s $1/usr/lib/ncurses/6_2/bin/clear $1/usr/bin/
|
||||||
ln -s $1/usr/lib/ncurses/bin/infocmp $1/usr/bin/
|
ln -s $1/usr/lib/ncurses/6_2/bin/infocmp $1/usr/bin/
|
||||||
ln -s $1/usr/lib/ncurses/bin/infotocap $1/usr/bin/
|
ln -s $1/usr/lib/ncurses/6_2/bin/infotocap $1/usr/bin/
|
||||||
ln -s $1/usr/lib/ncurses/bin/ncurses6-config $1/usr/bin/
|
ln -s $1/usr/lib/ncurses/6_2/bin/ncurses6-config $1/usr/bin/
|
||||||
ln -s $1/usr/lib/ncurses/bin/reset $1/usr/bin/
|
ln -s $1/usr/lib/ncurses/6_2/bin/reset $1/usr/bin/
|
||||||
ln -s $1/usr/lib/ncurses/bin/tabs $1/usr/bin/
|
ln -s $1/usr/lib/ncurses/6_2/bin/tabs $1/usr/bin/
|
||||||
ln -s $1/usr/lib/ncurses/bin/tic $1/usr/bin/
|
ln -s $1/usr/lib/ncurses/6_2/bin/tic $1/usr/bin/
|
||||||
ln -s $1/usr/lib/ncurses/bin/toe $1/usr/bin/
|
ln -s $1/usr/lib/ncurses/6_2/bin/toe $1/usr/bin/
|
||||||
ln -s $1/usr/lib/ncurses/bin/tput $1/usr/bin/
|
ln -s $1/usr/lib/ncurses/6_2/bin/tput $1/usr/bin/
|
||||||
ln -s $1/usr/lib/ncurses/bin/tset $1/usr/bin/
|
ln -s $1/usr/lib/ncurses/6_2/bin/tset $1/usr/bin/
|
||||||
ln -s $1/usr/lib/ncurses/include/ncurses $1/usr/include
|
ln -s $1/usr/lib/ncurses/6_2/include/ncurses $1/usr/include
|
||||||
ln -s $1/usr/lib/ncurses/lib/libform.a $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libform.a $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libform_g.a $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libform_g.a $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libform.so $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libform.so $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libform.so.6 $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libform.so.6 $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libform.so.6.1 $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libform.so.6.1 $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libmenu.a $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libmenu.a $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libmenu_g.a $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libmenu_g.a $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libmenu.so $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libmenu.so $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libmenu.so.6 $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libmenu.so.6 $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libmenu.so.6.1 $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libmenu.so.6.1 $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libncurses++.a $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libncurses++.a $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libncurses.a $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libncurses.a $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libncurses++_g.a $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libncurses++_g.a $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libncurses_g.a $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libncurses_g.a $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libncurses.so $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libncurses.so $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libncurses.so.6 $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libncurses.so.6 $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libncurses.so.6.1 $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libncurses.so.6.1 $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libpanel.a $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libpanel.a $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libpanel_g.a $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libpanel_g.a $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libpanel.so $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libpanel.so $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libpanel.so.6 $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libpanel.so.6 $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/libpanel.so.6.1 $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/libpanel.so.6.1 $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/terminfo $1/usr/lib/
|
ln -s $1/usr/lib/ncurses/6_2/lib/terminfo $1/usr/lib/
|
||||||
ln -s $1/usr/lib/ncurses/lib/pkgconfig/form.pc $1/usr/lib/pkgconfig/
|
ln -s $1/usr/lib/ncurses/6_2/lib/pkgconfig/form.pc $1/usr/lib/pkgconfig/
|
||||||
ln -s $1/usr/lib/ncurses/lib/pkgconfig/menu.pc $1/usr/lib/pkgconfig/
|
ln -s $1/usr/lib/ncurses/6_2/lib/pkgconfig/menu.pc $1/usr/lib/pkgconfig/
|
||||||
ln -s $1/usr/lib/ncurses/lib/pkgconfig/ncurses++.pc $1/usr/lib/pkgconfig/
|
ln -s $1/usr/lib/ncurses/6_2/lib/pkgconfig/ncurses++.pc $1/usr/lib/pkgconfig/
|
||||||
ln -s $1/usr/lib/ncurses/lib/pkgconfig/ncurses.pc $1/usr/lib/pkgconfig/
|
ln -s $1/usr/lib/ncurses/6_2/lib/pkgconfig/ncurses.pc $1/usr/lib/pkgconfig/
|
||||||
ln -s $1/usr/lib/ncurses/lib/pkgconfig/panel.pc $1/usr/lib/pkgconfig/
|
ln -s $1/usr/lib/ncurses/6_2/lib/pkgconfig/panel.pc $1/usr/lib/pkgconfig/
|
||||||
echo "INPUT(-lncursesw)" > $1/usr/lib/libncurses.so
|
echo "INPUT(-lncursesw)" > $1/usr/lib/libncurses.so
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
wget http://downloads.sourceforge.net/expat/expat-2.1.0.tar.gz
|
|
||||||
tar -xf expat-2.1.0.tar.gz
|
|
||||||
cd expat-2.1.0
|
|
||||||
|
|
||||||
./configure --prefix=/usr --disable-static
|
|
||||||
make
|
|
||||||
make DESTDIR="$1" install
|
|
|
@ -1,5 +0,0 @@
|
||||||
pkg_config_deploy=true
|
|
||||||
pkg_config_ver="2.1.0"
|
|
||||||
pkg_config_name="expat"
|
|
||||||
pkg_config_makedepends=""
|
|
||||||
pkg_config_depends=""
|
|
|
@ -1,12 +1,9 @@
|
||||||
wget https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz
|
wget https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz
|
||||||
tar -xf flex-2.6.4.tar.gz
|
tar -xf flex-2.6.4.tar.gz
|
||||||
cd flex-2.6.4
|
cd flex-2.6.4
|
||||||
|
|
||||||
sed -i "/math.h/a #include <malloc.h>" src/flexdef.h
|
sed -i "/math.h/a #include <malloc.h>" src/flexdef.h
|
||||||
HELP2MAN=/tools/bin/true ./configure --prefix=/usr --docdir=/usr/share/doc/flex-2.6.4
|
HELP2MAN=/tools/bin/true ./configure --prefix=/usr --docdir=/usr/share/doc/flex-2.6.4
|
||||||
|
|
||||||
make
|
make
|
||||||
make check
|
make check
|
||||||
make install DESTDIR="$1"
|
make install DESTDIR="$1"
|
||||||
ln -sv flex $1/usr/bin/lex
|
ln -sv flex $1/usr/bin/lex
|
||||||
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
wget https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.13.1.tar.bz2
|
|
||||||
tar -xf fontconfig-2.13.1.tar.bz2
|
|
||||||
cd fontconfig-2.13.1
|
|
||||||
|
|
||||||
./configure --prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--disable-docs \
|
|
||||||
--docdir=/usr/share/doc/fontconfig-2.13.1
|
|
||||||
|
|
||||||
make
|
|
||||||
make DESTDIR="$1" install
|
|
|
@ -1,5 +0,0 @@
|
||||||
pkg_config_deploy=true
|
|
||||||
pkg_config_ver="2.13.1"
|
|
||||||
pkg_config_name="fontconfig"
|
|
||||||
pkg_config_makedepends=""
|
|
||||||
pkg_config_depends=""
|
|
|
@ -1,7 +0,0 @@
|
||||||
wget https://downloads.sourceforge.net/freetype/freetype-2.10.4.tar.xz
|
|
||||||
tar -xf freetype-2.10.4.tar.xz
|
|
||||||
cd freetype-2.10.4
|
|
||||||
|
|
||||||
./configure --prefix=/usr --disable-static
|
|
||||||
make
|
|
||||||
make DESTDIR="$1" install
|
|
|
@ -1,5 +0,0 @@
|
||||||
pkg_config_deploy=true
|
|
||||||
pkg_config_ver="2.10.4"
|
|
||||||
pkg_config_name="freetype2"
|
|
||||||
pkg_config_makedepends=""
|
|
||||||
pkg_config_depends=""
|
|
55
gcc/build
55
gcc/build
|
@ -1,49 +1,24 @@
|
||||||
wget -O gcc-11.1.0.tar.gz https://gcc.gnu.org/pub/gcc/releases/gcc-11.1.0/gcc-11.1.0.tar.xz
|
wget -O gcc-11.1.0.tar.gz https://gcc.gnu.org/pub/gcc/releases/gcc-11.1.0/gcc-11.1.0.tar.xz
|
||||||
tar -xf gcc-11.1.0.tar.gz
|
tar -xf gcc-11.1.0.tar.gz
|
||||||
cd gcc-11.1.0
|
cd gcc-11.1.0
|
||||||
|
wget https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz
|
||||||
# Use lib not lib64 by default.
|
wget https://ftp.gnu.org/gnu/mpfr/mpfr-4.1.0.tar.xz
|
||||||
sed '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64 > _
|
wget https://ftp.gnu.org/gnu/mpc/mpc-1.2.1.tar.gz
|
||||||
mv -f _ gcc/gcc/config/i386/t-linux64
|
tar -xf gmp-6.2.1.tar.xz
|
||||||
sed 's/lib64/lib/' gcc/gcc/config/i386/linux64.h > _
|
tar -xf mpfr-4.1.0.tar.xz
|
||||||
mv -f _ gcc/gcc/config/i386/linux64.h
|
tar -xf mpc-1.2.1.tar.gz
|
||||||
|
mv gmp-6.2.1 gmp
|
||||||
|
mv mpfr-4.1.0 mpfr
|
||||||
|
mv mpc-1.2.1 mpc
|
||||||
|
sed -i '/m64=/s/lib64/lib/' ./config/i386/t-linux64
|
||||||
|
sed -i 's/lib64/lib/' ./config/i386/linux64.h
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
../configure --prefix=/usr --enable-languages=c,c++,d,fortran,go,objc,obj-c++
|
||||||
../configure \
|
|
||||||
--prefix=/usr \
|
|
||||||
--libexecdir=/usr/lib \
|
|
||||||
--mandir=/usr/share/man \
|
|
||||||
--infodir=/usr/share/info \
|
|
||||||
--disable-multilib \
|
|
||||||
--disable-symvers \
|
|
||||||
--disable-libmpx \
|
|
||||||
--disable-libmudflap \
|
|
||||||
--disable-libsanitizer \
|
|
||||||
--disable-werror \
|
|
||||||
--disable-fixed-point \
|
|
||||||
--disable-libstdcxx-pch \
|
|
||||||
--disable-nls \
|
|
||||||
--enable-checking=release \
|
|
||||||
--enable-__cxa_atexit \
|
|
||||||
--enable-default-pie \
|
|
||||||
--enable-default-ssp \
|
|
||||||
--enable-shared \
|
|
||||||
--enable-threads \
|
|
||||||
--enable-tls \
|
|
||||||
--enable-languages=c,c++
|
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR="$1" install
|
make install DESTDIR="$1"
|
||||||
|
ln -s gcc "$1/usr/bin/cc"
|
||||||
# Save 35MB. (from KISS)
|
|
||||||
find "$1" -name libgtkpeer.a -exec rm -f {} +
|
|
||||||
find "$1" -name libgjsmalsa.a -exec rm -f {} +
|
|
||||||
find "$1" -name libgij.a -exec rm -f {} +
|
|
||||||
|
|
||||||
ln -sf gcc "$1/usr/bin/cc"
|
|
||||||
|
|
||||||
echo "#!/bin/sh" > "$1"/usr/bin/c99
|
echo "#!/bin/sh" > "$1"/usr/bin/c99
|
||||||
echo "exec cc -std=c99 "$@"" >> "$1"/usr/bin/c99
|
echo "exec cc -std=c99 "$@"" >> "$1"/usr/bin/c99
|
||||||
chmod +x "$1"/usr/bin/c99
|
chmod +x "$1"/usr/bin/c99
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
pkg_config_deploy="true"
|
pkg_config_deploy="true"
|
||||||
pkg_config_ver="11.1.0"
|
pkg_config_ver="0.1"
|
||||||
pkg_config_name="gcc"
|
pkg_config_name="gcc"
|
||||||
pkg_config_makedepends=""
|
pkg_config_makedepends=""
|
||||||
pkg_config_depends=""
|
pkg_config_depends=""
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.xz
|
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.xz
|
||||||
tar -xf git-2.9.5.tar.xz
|
tar -xf git-2.9.5.tar.xz
|
||||||
cd git-2.9.5
|
cd git-2.9.5
|
||||||
|
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
make install DESTDIR="$1"
|
make install DESTDIR="$1"
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
wget https://ftp.gnu.org/gnu/libc/glibc-2.33.tar.gz
|
wget https://ftp.gnu.org/gnu/libc/glibc-2.33.tar.gz
|
||||||
tar -xf glibc-2.33.tar.gz
|
tar -xf glibc-2.33.tar.gz
|
||||||
cd glibc-2.33
|
cd glibc-2.33
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
../configure --prefix=/usr
|
../configure --prefix=/usr
|
||||||
make
|
make
|
||||||
make install DESTDIR="$1"
|
make install DESTDIR="$1"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
pkg_config_deploy=true
|
pkg_config_deploy=true
|
||||||
pkg_config_ver="0.3"
|
pkg_config_ver="0.2"
|
||||||
pkg_config_name="grub-defconfig"
|
pkg_config_name="grub-defconfig"
|
||||||
pkg_config_makedepends=""
|
pkg_config_makedepends=""
|
||||||
pkg_config_depends=""
|
pkg_config_depends=""
|
19
gzip/build
19
gzip/build
|
@ -1,8 +1,11 @@
|
||||||
wget https://mirrors.nav.ro/gnu/gzip/gzip-1.10.tar.gz
|
wget https://zlib.net/pigz/pigz-2.6.tar.gz
|
||||||
tar -xf gzip-1.10.tar.gz
|
tar -xf pigz-2.6.tar.gz
|
||||||
cd gzip-1.10
|
cd pigz-2.6
|
||||||
|
make CC="${CC:-cc} -static"
|
||||||
./configure --prefix=/usr
|
mkdir -p "$1/usr/bin" "$1/usr/share/man/man1"
|
||||||
|
cp -f pigz unpigz "$1/usr/bin"
|
||||||
make
|
cp -f pigz.1 "$1/usr/share/man/man1"
|
||||||
make DESTDIR="$1" install
|
ln -sf pigz "$1/usr/bin/gzip"
|
||||||
|
ln -sf pigz "$1/usr/bin/zcat"
|
||||||
|
ln -sf unpigz "$1/usr/bin/gunzip"
|
||||||
|
ln -sf pigz.1 "$1/usr/share/man/man1/gzip.1"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
pkg_config_deploy=true
|
pkg_config_deploy=true
|
||||||
pkg_config_ver="1.10"
|
pkg_config_ver="2.6"
|
||||||
pkg_config_name="gzip"
|
pkg_config_name="gzip"
|
||||||
pkg_config_makedepends=""
|
pkg_config_makedepends=""
|
||||||
pkg_config_depends=""
|
pkg_config_depends=""
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
git clone https://github.com/Sweets/hummingbird hummingbird-build
|
git clone https://github.com/Sweets/hummingbird hummingbird-build
|
||||||
cd hummingbird-build
|
cd hummingbird-build
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$1
|
make install DESTDIR=$1
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
pkg_config_deploy=true
|
pkg_config_deploy=true
|
||||||
pkg_config_ver="b1f7ea13c94d5990af4de74b2691ebf4d681fd66"
|
pkg_config_ver="0.1"
|
||||||
pkg_config_name="hummingbird"
|
pkg_config_name="hummingbird"
|
||||||
pkg_config_makedepends=""
|
pkg_config_makedepends=""
|
||||||
pkg_config_depends=""
|
pkg_config_depends=""
|
12
libdrm/build
12
libdrm/build
|
@ -1,12 +0,0 @@
|
||||||
wget https://dri.freedesktop.org/libdrm/libdrm-2.4.104.tar.xz
|
|
||||||
tar -xf libdrm-2.4.104.tar.xz
|
|
||||||
cd libdrm-2.4.104
|
|
||||||
|
|
||||||
export DESTDIR="$1"
|
|
||||||
|
|
||||||
meson \
|
|
||||||
--prefix=/usr \
|
|
||||||
. build
|
|
||||||
|
|
||||||
ninja -C build
|
|
||||||
ninja -C build install
|
|
|
@ -1,5 +0,0 @@
|
||||||
pkg_config_deploy=true
|
|
||||||
pkg_config_ver="2.4.104"
|
|
||||||
pkg_config_name="libdrm"
|
|
||||||
pkg_config_makedepends=""
|
|
||||||
pkg_config_depends=""
|
|
|
@ -1,6 +0,0 @@
|
||||||
wget https://github.com/glennrp/libpng/archive/v1.6.37.tar.gz
|
|
||||||
tar -xf v1.6.37.tar.gz
|
|
||||||
cd v1.6.37
|
|
||||||
|
|
||||||
make
|
|
||||||
make DESTDIR="$1" install
|
|
|
@ -1,5 +0,0 @@
|
||||||
pkg_config_deploy=true
|
|
||||||
pkg_config_ver="1.6.37"
|
|
||||||
pkg_config_name="libpng"
|
|
||||||
pkg_config_makedepends=""
|
|
||||||
pkg_config_depends=""
|
|
2
m4/build
2
m4/build
|
@ -1,10 +1,8 @@
|
||||||
wget https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.xz
|
wget https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.xz
|
||||||
tar -xf m4-1.4.19.tar.xz
|
tar -xf m4-1.4.19.tar.xz
|
||||||
cd m4-1.4.19
|
cd m4-1.4.19
|
||||||
|
|
||||||
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
|
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
|
||||||
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
|
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
|
||||||
|
|
||||||
./configure --prefix=/usr --build=$(build-aux/config.guess)
|
./configure --prefix=/usr --build=$(build-aux/config.guess)
|
||||||
make
|
make
|
||||||
make install DESTDIR="$1"
|
make install DESTDIR="$1"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
wget https://ftp.gnu.org/gnu/make/make-4.3.tar.gz
|
wget https://ftp.gnu.org/gnu/make/make-4.3.tar.gz
|
||||||
tar -xf make-4.3.tar.gz
|
tar -xf make-4.3.tar.gz
|
||||||
cd make-4.3
|
cd make-4.3
|
||||||
|
|
||||||
export CFLAGS="$CFLAGS -static"
|
export CFLAGS="$CFLAGS -static"
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
wget https://www.nano-editor.org/dist/v5/nano-5.8.tar.xz
|
wget https://www.nano-editor.org/dist/v5/nano-5.8.tar.xz
|
||||||
tar -xf nano-5.8.tar.xz
|
tar -xf nano-5.8.tar.xz
|
||||||
cd nano-5.8
|
cd nano-5.8
|
||||||
|
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--enable-utf8 \
|
--enable-utf8 \
|
||||||
--disable-docs \
|
|
||||||
--docdir=/usr/share/doc/nano-5.8
|
--docdir=/usr/share/doc/nano-5.8
|
||||||
make
|
make
|
||||||
make DESTDIR="$1" install
|
make install &&
|
||||||
|
install -v -m644 doc/{nano.html,sample.nanorc} /usr/share/doc/nano-5.8
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
git clone https://github.com/ninja-build/ninja/archive/refs/tags/v1.10.2.tar.gz
|
git clone https://github.com/ninja-build/ninja.git
|
||||||
tar -xf v1.10.2.tar.gz
|
cd ninja
|
||||||
cd v1.10.2
|
|
||||||
|
|
||||||
./configure.py --bootstrap
|
./configure.py --bootstrap
|
||||||
cp -pv ninja "$1"/usr/bin
|
mv ninja "$1"/usr/bin
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
pkg_config_deploy=true
|
pkg_config_deploy=true
|
||||||
pkg_config_ver="1.10.2"
|
pkg_config_ver="1.10.2-git"
|
||||||
pkg_config_name="ninja"
|
pkg_config_name="ninja"
|
||||||
pkg_config_makedepends=""
|
pkg_config_makedepends=""
|
||||||
pkg_config_depends=""
|
pkg_config_depends=""
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
wget -O openrc-0.43.3.tar.gz https://github.com/OpenRC/openrc/archive/refs/tags/0.43.3.tar.gz
|
wget -O openrc-0.43.3.tar.gz https://github.com/OpenRC/openrc/archive/refs/tags/0.43.3.tar.gz
|
||||||
tar -xf openrc-0.43.3.tar.gz
|
tar -xf openrc-0.43.3.tar.gz
|
||||||
cd openrc-0.43.3
|
cd openrc-0.43.3
|
||||||
|
|
||||||
make
|
make
|
||||||
make install BRANDING=\"Alnux/$(uname -s)\" SH=/bin/sh DESTDIR="$1"/sbin/openrc PREFIX="$1"
|
make install BRANDING=\"Alnux/$(uname -s)\" SH=/bin/sh DESTDIR="$1"/sbin/openrc PREFIX="$1"
|
||||||
cat tmpfs /tmp tmpfs rw,nosuid,noatime,nodev,size=20G,mode=1777 0 0 > "$1"/etc/fstab
|
cat tmpfs /tmp tmpfs rw,nosuid,noatime,nodev,size=20G,mode=1777 0 0 > "$1"/etc/fstab
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
wget https://ftp.gnu.org/gnu/pth/pth-2.0.7.tar.gz
|
wget https://ftp.gnu.org/gnu/pth/pth-2.0.7.tar.gz
|
||||||
tar -xf pth-2.0.7.tar.gz
|
tar -xf pth-2.0.7.tar.gz
|
||||||
cd pth-2.0.7
|
cd pth-2.0.7
|
||||||
|
|
||||||
sed -i 's#$(LOBJS): Makefile#$(LOBJS): pth_p.h Makefile#' Makefile.in
|
sed -i 's#$(LOBJS): Makefile#$(LOBJS): pth_p.h Makefile#' Makefile.in
|
||||||
|
|
||||||
./configure --prefix=/usr --disable-static --mandir=/usr/share/man
|
./configure --prefix=/usr --disable-static --mandir=/usr/share/man
|
||||||
make
|
make
|
||||||
make install &&
|
make install &&
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
wget https://ftp.gnu.org/gnu/tar/tar-1.34.tar.xz
|
wget https://ftp.gnu.org/gnu/tar/tar-1.34.tar.xz
|
||||||
tar -xf tar-1.34
|
tar -xf tar-1.34
|
||||||
cd tar-1.34
|
cd tar-1.34
|
||||||
|
|
||||||
./configure DEFAULT_RMT_DIR=/etc
|
./configure DEFAULT_RMT_DIR=/etc
|
||||||
make
|
make
|
||||||
make DESTDIR="$1" install
|
make install DESTDIR="$1"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
pkg_config_deploy="true"
|
pkg_config_deploy="true"
|
||||||
pkg_config_ver="0.3"
|
pkg_config_ver="0.0.1"
|
||||||
pkg_config_name="ufetch"
|
pkg_config_name="ufetch"
|
||||||
pkg_config_makedepends=""
|
pkg_config_makedepends=""
|
||||||
pkg_config_depends=""
|
pkg_config_depends=""
|
||||||
|
|
3
xz/build
3
xz/build
|
@ -1,7 +1,6 @@
|
||||||
wget https://tukaani.org/xz/xz-5.2.5.tar.gz
|
wget https://tukaani.org/xz/xz-5.2.5.tar.gz
|
||||||
tar -xf xz-5.2.5.tar.gz
|
tar -xf xz-5.2.5.tar.gz
|
||||||
cd xz-5.2.5
|
cd xz-5.2.5
|
||||||
|
|
||||||
./configure --prefix=/usr --disable-nls
|
./configure --prefix=/usr --disable-nls
|
||||||
make
|
make
|
||||||
make DESTDIR="$1" install
|
make install DESTDIR="$1"
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
wget https://zlib.net/zlib-1.2.11.tar.gz
|
wget https://zlib.net/zlib-1.2.11.tar.gz
|
||||||
tar -xf zlib-1.2.11.tar.gz
|
tar -xf zlib-1.2.11.tar.gz
|
||||||
cd zlib-1.2.11
|
cd zlib-1.2.11
|
||||||
|
|
||||||
export CFLAGS="$CFLAGS -fPIC"
|
export CFLAGS="$CFLAGS -fPIC"
|
||||||
./configure --prefix="$1" --shared
|
./configure --prefix="$1" --shared
|
||||||
make
|
make
|
||||||
make DESTDIR="$1" install
|
make install DESTDIR="$1"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
wget https://www.zsh.org/pub/zsh-5.8.tar.xz
|
wget https://www.zsh.org/pub/zsh-5.8.tar.xz
|
||||||
tar -xf zsh-5.8.tar.xz
|
tar -xf zsh-5.8.tar.xz
|
||||||
cd zsh-5.8
|
cd zsh-5.8
|
||||||
|
|
||||||
./configure --prefix=/usr --sysconfdir=/etc/zsh --enable-etcdir=/etc/zsh
|
./configure --prefix=/usr --sysconfdir=/etc/zsh --enable-etcdir=/etc/zsh
|
||||||
make
|
make
|
||||||
make DESTDIR="$1" install
|
make install DESTDIR="$1"
|
||||||
|
|
Loading…
Reference in a new issue