Add flex, bison, m4 & update ufetch & fix a critical ncurses bug #21
10 changed files with 43 additions and 11 deletions
6
bison/build
Executable file
6
bison/build
Executable file
|
@ -0,0 +1,6 @@
|
|||
wget https://ftp.gnu.org/gnu/bison/bison-3.7.6.tar.xz
|
||||
tar -xf bison-3.7.6.tar.xz
|
||||
cd bison-3.7.6
|
||||
./configure --prefix=/usr --docdir=/usr/share/doc/bison-3.7.6
|
||||
make
|
||||
make install DESTDIR="$1"
|
5
bison/package
Executable file
5
bison/package
Executable file
|
@ -0,0 +1,5 @@
|
|||
pkg_config_deploy=true
|
||||
pkg_config_ver="3.7.6"
|
||||
pkg_config_name="bison"
|
||||
pkg_config_makedepends=""
|
||||
pkg_config_depends=""
|
|
@ -11,4 +11,6 @@ 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
|
||||
make
|
||||
make install DESTDIR="$1"
|
||||
cp libncursesw.so /lib/libncursesw.so
|
||||
ln -s /lib/libncursesw.so /lib/libncurses.so
|
||||
echo "INPUT(-lncursesw)" > $1/usr/lib/libncurses.so
|
||||
|
|
9
flex/build
Executable file
9
flex/build
Executable file
|
@ -0,0 +1,9 @@
|
|||
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
|
||||
cd flex-2.6.4
|
||||
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
|
||||
make
|
||||
make check
|
||||
make install DESTDIR="$1"
|
||||
ln -sv flex /usr/bin/lex
|
5
flex/package
Executable file
5
flex/package
Executable file
|
@ -0,0 +1,5 @@
|
|||
pkg_config_deploy=true
|
||||
pkg_config_ver="2.6.4"
|
||||
pkg_config_name="flex"
|
||||
pkg_config_makedepends=""
|
||||
pkg_config_depends=""
|
9
m4/build
Executable file
9
m4/build
Executable file
|
@ -0,0 +1,9 @@
|
|||
wget https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.xz
|
||||
tar -xf m4-1.4.19.tar.xz
|
||||
cd m4-1.4.19
|
||||
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
|
||||
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
|
||||
./configure --prefix=/usr --build=$(build-aux/config.guess)
|
||||
make
|
||||
make install DESTDIR="$1"
|
||||
|
5
m4/package
Executable file
5
m4/package
Executable file
|
@ -0,0 +1,5 @@
|
|||
pkg_config_deploy=true
|
||||
pkg_config_ver="1.4.18"
|
||||
pkg_config_name="m4"
|
||||
pkg_config_makedepends=""
|
||||
pkg_config_depends=""
|
|
@ -1,8 +0,0 @@
|
|||
9c9
|
||||
< os='Linux' # I'd just like to interject for a moment...
|
||||
---
|
||||
> os='Alnux' # I'd just like to interject for a moment... Alnux is a linux distro that is closed down and tightly controlled...
|
||||
12c12
|
||||
< packages='unknown'
|
||||
---
|
||||
> packages="$(aps list | wc -l)"
|
|
@ -6,10 +6,10 @@
|
|||
|
||||
# user is already defined
|
||||
host="$(hostname)"
|
||||
os='Linux' # I'd just like to interject for a moment...
|
||||
os='Alnux' # I'd just like to interject for a moment...
|
||||
kernel="$(uname -sr)"
|
||||
uptime="$(uptime | awk -F, '{sub(".*up ",x,$1);print $1}' | sed -e 's/^[ \t]*//')"
|
||||
packages='unknown'
|
||||
packages="$(aps list | sed "s/README.md//" | wc -l)"
|
||||
shell="$(basename "${SHELL}")"
|
||||
|
||||
## UI DETECTION
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
patch -p1 < patch
|
Loading…
Reference in a new issue