diff options
author | davidovski <david@davidovski.xyz> | 2021-10-05 16:35:17 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2021-10-05 16:35:17 +0100 |
commit | cdea2f67ae42d4220e19a555259b69a960925283 (patch) | |
tree | b1cc697e6e0203b3ce02e15b8baa4f73f84e34c8 /psibuilds | |
parent | 16e799786f34721e646e14a2b7e7ab3816137f1a (diff) |
renamed
Diffstat (limited to 'psibuilds')
-rw-r--r-- | psibuilds/bash.psibuild | 12 | ||||
-rw-r--r-- | psibuilds/bc.psibuild | 15 | ||||
-rw-r--r-- | psibuilds/binutils.psibuild | 13 | ||||
-rw-r--r-- | psibuilds/bzip2.psibuild | 37 | ||||
-rw-r--r-- | psibuilds/dejagnu.psibuild | 23 | ||||
-rw-r--r-- | psibuilds/expect.psibuild | 20 | ||||
-rw-r--r-- | psibuilds/file.psibuild | 20 | ||||
-rw-r--r-- | psibuilds/flex.psibuild | 19 | ||||
-rw-r--r-- | psibuilds/gcc.psibuild | 15 | ||||
-rw-r--r-- | psibuilds/glibc.psibuild | 78 | ||||
-rw-r--r-- | psibuilds/gmp.psibuild | 25 | ||||
-rw-r--r-- | psibuilds/iana-etc.psibuild | 16 | ||||
-rw-r--r-- | psibuilds/m4.psibuild | 14 | ||||
-rw-r--r-- | psibuilds/psibuild.psibuild | 10 | ||||
-rw-r--r-- | psibuilds/readline.psibuild | 19 | ||||
-rw-r--r-- | psibuilds/tar.psibuild | 13 | ||||
-rw-r--r-- | psibuilds/tcl.psibuild | 28 | ||||
-rw-r--r-- | psibuilds/xz.psibuild | 14 | ||||
-rw-r--r-- | psibuilds/zlib.psibuild | 19 | ||||
-rw-r--r-- | psibuilds/zstd.psibuild | 18 |
20 files changed, 0 insertions, 428 deletions
diff --git a/psibuilds/bash.psibuild b/psibuilds/bash.psibuild deleted file mode 100644 index b2a0156..0000000 --- a/psibuilds/bash.psibuild +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -DEPS=(readline glibc ncurses) - -SOURCE=https://git.savannah.gnu.org/git/bash.git - -build () { - ./configure --without-bash-malloc --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} - diff --git a/psibuilds/bc.psibuild b/psibuilds/bc.psibuild deleted file mode 100644 index 989dc96..0000000 --- a/psibuilds/bc.psibuild +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -DEPS=(readline) - -SOURCE=https://github.com/gavinhoward/bc - - -build () { - CC=gcc ./configure --prefix=/usr -G -O3 - make - make test - make DESTDIR=$PKG_DEST install -} - - diff --git a/psibuilds/binutils.psibuild b/psibuilds/binutils.psibuild deleted file mode 100644 index ea8caac..0000000 --- a/psibuilds/binutils.psibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DEPS=() - -SOURCE=git://sourceware.org/git/binutils.git - - -build () { - ./configure --prefix=/usr --disable-nls --disable-werror - make - make DESTDIR=$PKG_DEST install -} - diff --git a/psibuilds/bzip2.psibuild b/psibuilds/bzip2.psibuild deleted file mode 100644 index 726f0f7..0000000 --- a/psibuilds/bzip2.psibuild +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash - -DEPS=(glibc sh) - -SOURCE=git://sourceware.org/git/bzip2.git - - -build () { - - # ensure symbolic links are relative - sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile - - make -f Makefile-libbz2_so - make clean - - make - - make PREFIX=$PKG_DEST/usr install - -} - -package () { - cp -av libbz2.so* $PKG_DEST/usr/lib - cp -av libbz2.so.1.0.8 $PKG_DEST/usr/lib/libbz2.so - - cp -v bzip2-shared $PKG_DEST/usr/bin/bzip2 - for i in $PKG_DEST/usr/bin/{bzcat,bunzip2}; do - cp -afv bzip2 $i - done - - # remove a useless static library - cp -v bzip2-shared $PKG_DEST/usr/bin/bzip2 - for i in $PKG_DEST/usr/bin/{bzcat,bunzip2}; do - ln -sfv bzip2 $i - done -} - diff --git a/psibuilds/dejagnu.psibuild b/psibuilds/dejagnu.psibuild deleted file mode 100644 index ee09ef3..0000000 --- a/psibuilds/dejagnu.psibuild +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -DEPS=(sh expect) - -SOURCE=git://git.sv.gnu.org/dejagnu.git - - -build () { - mkdir -v build - cd build - - ../configure --prefix=/usr - - makeinfo --html --no-split -o doc/dejagnu.html ../doc/dejagnu.texi - makeinfo --plaintext -o doc/dejagnu.txt ../doc/dejagnu.texi - - make DESTDIR=$PKG_DEST install - - install -v -dm755 $PKG_DEST/usr/share/doc/dejagnu-1.6.3 - install -v -m644 doc/dejagnu.{html,txt} $PKG_DEST/usr/share/doc/dejagnu-1.6.3 -} - - diff --git a/psibuilds/expect.psibuild b/psibuilds/expect.psibuild deleted file mode 100644 index e2288a3..0000000 --- a/psibuilds/expect.psibuild +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -DEPS=(tcl) - -SOURCE=https://github.com/aeruder/expect - - -build () { - # note: --with-tcl, we might want to make a way to use the tcl that we've compiled in another package - ./configure --prefix=/usr --with-tcl=/usr/lib --enable-shared --mandir=/usr/share/man --with-tclinclude=/usr/include - make - make test - make DESTDIR=$PKG_DEST install -} - -package () { - cp libexpect*.so $PKG_DEST/usr/lib -} - - diff --git a/psibuilds/file.psibuild b/psibuilds/file.psibuild deleted file mode 100644 index 9141847..0000000 --- a/psibuilds/file.psibuild +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -DEPS=(glibc ) - -SOURCE=https://github.com/file/file - - -build () { - # cheating - wget http://ftp.astron.com/pub/file/file-5.40.tar.gz - tar -zxf file-5.40.tar.gz - cd file-5.40 - - ./configure --prefix=/usr - make - make check - make DESTDIR=$PKG_DEST install -} - - diff --git a/psibuilds/flex.psibuild b/psibuilds/flex.psibuild deleted file mode 100644 index 88d61a6..0000000 --- a/psibuilds/flex.psibuild +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -DEPS=(glibc m4 sh) - -SOURCE=https://github.com/nlitsme/gnubc - - -build () { - ./configure --prefix=/usr --docdir=/usr/share/doc/flex --disable-static - make - make check - make DESTDIR=$PKG_DEST install -} - -package () { - ln -sv $PKG_DEST/usr/bin/flex $PKG_DEST/usr/bin/lex -} - - diff --git a/psibuilds/gcc.psibuild b/psibuilds/gcc.psibuild deleted file mode 100644 index 3edb513..0000000 --- a/psibuilds/gcc.psibuild +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=git://gcc.gnu.org/git/gcc.git - - -build () { - mkdir -v build - cd build - ../configure --prefix=/usr --disable-multilib --disable-bootstrap - make - make DESTDIR=$PKG_DEST install -} - diff --git a/psibuilds/glibc.psibuild b/psibuilds/glibc.psibuild deleted file mode 100644 index 5b111bd..0000000 --- a/psibuilds/glibc.psibuild +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://sourceware.org/git/glibc.git - -build () { - # patches as recommended by lfs - sed -e '/NOTIFY_REMOVED)/s/)/ \&\& data.attr != NULL)/' -i sysdeps/unix/sysv/linux/mq_notify.c - - mkdir -v build - cd build - - # ensure that the ldconfig and sln utilities are installed into /usr/sbin - echo "rootsbindir=/usr/sbin" > configparms - - ../configure --prefix=/usr \ - --disable-werror \ - --enable-kernel=3.2 \ - --enable-stack-protector=strong \ - --with-headers=/usr/include \ - libc_cv_slibdir=/usr/lib - - make - make check - - sed '/test-installation/s@$(PERL)@echo not running@' -i ../Makefile - make DESTDIR=$PKG_DEST install - - - # fix hardcoded path to the excutable in ldd script - sed '/RTLDLIST=/s@/usr@@g' -i $PKG_DEST/usr/bin/ldd - - cp -v ../nscd/nscd.conf $PKG_DEST/etc/nscd.conf - mkdir -pv $PKG_DEST/var/cache/nscd -} - -package () { - cat > $PKG_DEST/etc/nsswitch.conf << "EOF" -# Begin /etc/nsswitch.conf -passwd: files -group: files -shadow: files -hosts: files dns -networks: files -protocols: files -services: files -ethers: files -rpc: files -# End /etc/nsswitch.conf -EOF - - wget https://mirrors.slackware.com/slackware/slackware64-current/source/a/glibc-zoneinfo/tzdata2021a.tar.gz - - tar -xf tzdata2021a.tar.gz - - ZONEINFO=$PKG_DEST/usr/share/zoneinfo - mkdir -pv $ZONEINFO/{posix,right} - for tz in etcetera southamerica northamerica europe africa antarctica \ - asia australasia backward; do - zic -L /dev/null -d $ZONEINFO ${tz} - zic -L /dev/null -d $ZONEINFO/posix ${tz} - zic -L leapseconds -d $ZONEINFO/right ${tz} - done - cp -v zone.tab zone1970.tab iso3166.tab $ZONEINFO - zic -d $ZONEINFO -p America/New_York - unset ZONEINFO - - - # configure the dynamic loader - - cat > $PKG_DEST/etc/ld.so.conf << "EOF" -# Begin /etc/ld.so.conf -/usr/local/lib -/opt/lib -EOF -} - diff --git a/psibuilds/gmp.psibuild b/psibuilds/gmp.psibuild deleted file mode 100644 index 4a62d77..0000000 --- a/psibuilds/gmp.psibuild +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -DEPS=(gcc-libs sh) - -SOURCE=https://github.com/ryepdx/gmp - - -build () { - ./configure --prefix=/usr --enable-cxx --disable-static --docdir=/usr/share/doc/gmp - - make - make html - - make check 2>&1 | tee gmp-check-log - awk '/# PASS:/{total+=$3} ; END{print total}' gmp-check-log - - make DESTDIR=$PKG_DEST install - make DESTDIR=$PKG_DEST install-html -} - -package () { - ln -sv $PKG_DEST/usr/bin/flex $PKG_DEST/usr/bin/lex -} - - diff --git a/psibuilds/iana-etc.psibuild b/psibuilds/iana-etc.psibuild deleted file mode 100644 index 6466472..0000000 --- a/psibuilds/iana-etc.psibuild +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -DEPS=() - -SOURCE=https://github.com/Mic92/iana-etc - -build () { - python update.py out -} - -package () { - mkdir -vp $PKG_DEST/etc - cp -v out/dist/protocols $PKG_DEST/etc/ - cp -v out/dist/services $PKG_DEST/etc/ -} - diff --git a/psibuilds/m4.psibuild b/psibuilds/m4.psibuild deleted file mode 100644 index f28ec33..0000000 --- a/psibuilds/m4.psibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(glibc bash) - -SOURCE=git://git.sv.gnu.org/m4 - - -build () { - ./configure --prefix=/usr - make - make check - make DESTDIR=$PKG_DEST install -} - diff --git a/psibuilds/psibuild.psibuild b/psibuilds/psibuild.psibuild deleted file mode 100644 index 2f68018..0000000 --- a/psibuilds/psibuild.psibuild +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -DEPS=(bash tar) - -SOURCE=https://git.davidovski.xyz/psibuild.git - -package () { - cp psibuild $PKG_DEST/usr/bin/ -} - diff --git a/psibuilds/readline.psibuild b/psibuilds/readline.psibuild deleted file mode 100644 index 2721677..0000000 --- a/psibuilds/readline.psibuild +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -DEPS=(glibc ncurses) - -SOURCE=https://git.savannah.gnu.org/git/readline.git - - -build () { - ./configure --prefix=/usr \ - --disable-static \ - --with-curses \ - --docdir=/usr/share/doc/readline-8.1 - - make SHLIB_LIBS="-lncursesw" - make SHLIB_LIBS="-lncursesw" DESTDIR=$PKG_DEST install - - install -v -m644 doc/*.{ps,pdf,html,dvi} $PKG_DEST/usr/share/doc/readline-8.1 -} - diff --git a/psibuilds/tar.psibuild b/psibuilds/tar.psibuild deleted file mode 100644 index 829d6d2..0000000 --- a/psibuilds/tar.psibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://git.savannah.gnu.org/git/tar.git - -build () { - ./bootstrap - ./configure --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} - diff --git a/psibuilds/tcl.psibuild b/psibuilds/tcl.psibuild deleted file mode 100644 index 16442f4..0000000 --- a/psibuilds/tcl.psibuild +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -DEPS=(zlib) - -SOURCE=https://github.com/tcltk/tcl - - -build () { - SRCDIR=$(pwd) - cd unix - ./configure --prefix=/usr --mandir=/usr/share/man $([ "$(uname -m)" = x86_64 ] && echo --enable-64bit) - - make test - - make DESTDIR=$PKG_DEST install - - chmod -v u+w $PKG_DEST/usr/lib/libtcl8.6.so - - make DESTDIR=$PKG_DEST install-private-headers -} - -package () { - cp -f tclsh8.6 $PKG_DEST/usr/bin/tclsh - mv $PKG_DEST/usr/share/man/man3/{Thread,Tcl_Thread}.3 - -} - - diff --git a/psibuilds/xz.psibuild b/psibuilds/xz.psibuild deleted file mode 100644 index e17f53b..0000000 --- a/psibuilds/xz.psibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(sh) - -SOURCE=https://git.tukaani.org/xz.git - - -build () { - ./configure --prefix=/usr --disable-static --docdir=$PKG_DEST/usr/share/doc/xz-5.2.5 - make - make check - make DESTDIR=$PKG_DEST install -} - diff --git a/psibuilds/zlib.psibuild b/psibuilds/zlib.psibuild deleted file mode 100644 index c771727..0000000 --- a/psibuilds/zlib.psibuild +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://github.com/madler/zlib - - -build () { - ./configure --prefix=/usr - make - make check - make DESTDIR=$PKG_DEST install -} - -package () { - # Remove a useless static library (lfs recommended) - rm -fv $PKG_DEST/usr/lib/libz.a -} - diff --git a/psibuilds/zstd.psibuild b/psibuilds/zstd.psibuild deleted file mode 100644 index 63ba9af..0000000 --- a/psibuilds/zstd.psibuild +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -DEPS=(glibc gcc-libs zlib xz lz4) - -SOURCE=https://github.com - - -build () { - make - make prefix=/usr check - make DESTDIR=$PKG_DEST install -} - -package () { - # Remove a useless static library (lfs recommended) - rm -v $PKG_DEST/usr/lib/libzstd.a -} - |