diff options
| author | davidovski <david@davidovski.xyz> | 2021-10-06 17:18:43 +0100 | 
|---|---|---|
| committer | davidovski <david@davidovski.xyz> | 2021-10-06 17:18:43 +0100 | 
| commit | c25b6890891c7ef34e129c8c54efdf2993234aa0 (patch) | |
| tree | efce372f0cfbcdb2e4285ef65191cbbf1e3146e1 | |
| parent | d4cb1386d79c95e7586e7bccad5b0f6c7861cfe8 (diff) | |
moved xibuilds to another repo
30 files changed, 36 insertions, 638 deletions
| @@ -1,6 +1,8 @@  #!/bin/bash  XI_ROOT=$(pwd) +PKGS_OUTPUT=$XI_ROOT/xipkgs +PRIV_KEY=$XI_ROOT/keychain/xi.pem  ERROR="\033[0;31m"  INFO="\033[0;34m" @@ -11,12 +13,6 @@ RESET="\033[0m"  MAKEFLAGS="-j11"  alias make="make $MAKEFLAGS" -usage () { - cat << EOF -usage: $0 XIBUILD  -EOF -} -  extract () {      FILE=$1      echo extracting $FILE @@ -63,11 +59,10 @@ xibuild () {      PKG_NAME=$(basename $BUILD_FILE .xibuild)      LOGFILE=$XI_ROOT/logs/$PKG_NAME.log -    PKGS_OUTPUT=$XI_ROOT/xipkgs      PKG_FILE=$PKGS_OUTPUT/$PKG_NAME.xipkg      PKG_BUILD_DIR=$XI_ROOT/tmp/$PKG_NAME -    PKG_DEST=$PKG_XI_ROOT/tmp/$PKG_NAME.package +    PKG_DEST=$XI_ROOT/tmp/$PKG_NAME.package      # make sure build dir is clean before starting      rm -rf $PKG_BUILD_DIR @@ -152,8 +147,6 @@ xibuild () {      printf "$INFOsigning...";      # sign the package -    PRIV_KEY=$XI_ROOT/keychain/xi.pem -    PUB_KEY=$XI_ROOT/keychain/xi.pub      if [ -f "$PRIV_KEY" ]; then          echo "SIGNATURE=" >> $PKG_INFO @@ -171,16 +164,45 @@ xibuild () {      return 0  } +usage () { + cat << EOF +usage: $0 [-h] [-o output-dir] [-r working_root]  [-k private_key.pem] build_file.xibuild +    -h          display this help message +    -o          set the output dir for the xipkg files (default: $PWD/xipkgs) +    -r          set the working root for all log and tmp files (default: $PWD) +    -k          set the private key used to sign packages (default: $PWD/keychain/xi.pem) +EOF +}  build-all () {      FILES=$@ -    for BUILD_FILE in $FILES; do -        xibuild $BUILD_FILE && printf "$RESET" || printf "$ERROR error! See log$RESET\n" -        cd $XI_ROOT +    while test $# -gt 0; do +        case "$1" in +            "-o" ) +                shift +                PKGS_OUTPUT=$PWD/$1 +                ;; +            "-r" ) +                shift +                XI_ROOT=$PWD/$1 +                ;; +            "-k" ) +                shift +                PRIV_KEY=$PWD/$1 +                ;; +            "-h" ) +                usage +                ;; +            * ) +                xibuild $1 && printf "$RESET" || printf "$ERROR error! See log$RESET\n" +                cd $XI_ROOT +                ;; +        esac + +        shift      done  } -  if [ $# -gt 0 ]; then      build-all $@ | tee -a xibuild.log  fi diff --git a/xibuilds/acl.xibuild b/xibuilds/acl.xibuild deleted file mode 100644 index 7b86fe6..0000000 --- a/xibuilds/acl.xibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(attr) - -SOURCE=http://download.savannah.nongnu.org/releases/acl/acl-2.3.1.tar.xz -DESC="Access control list utilities, libraries and headers" - -build () { -    ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/acl-2.3.1 -    make - -    make DESTDIR=$PKG_DEST install - -} diff --git a/xibuilds/attr.xibuild b/xibuilds/attr.xibuild deleted file mode 100644 index 6aa9673..0000000 --- a/xibuilds/attr.xibuild +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) -SOURCE=http://download.savannah.nongnu.org/releases/attr/attr-2.5.1.tar.xz - -DESC="Extended attribute support library for ACL support" - -build () { - -    ./configure --prefix=/usr --disable-static --sysconfdir=/etc --docdir=/usr/share/doc/attr-2.5.1 - -    make -    make check -    make DESTDIR=$PKG_DEST install -} diff --git a/xibuilds/bash.xibuild b/xibuilds/bash.xibuild deleted file mode 100644 index ab6e11e..0000000 --- a/xibuilds/bash.xibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DEPS=(readline glibc ncurses) - -SOURCE=https://git.savannah.gnu.org/git/bash.git -DESC="The free Bourne Again Shell" - -build () { -    ./configure --without-bash-malloc --prefix=/usr -    make -    make DESTDIR=$PKG_DEST install -} - diff --git a/xibuilds/bc.xibuild b/xibuilds/bc.xibuild deleted file mode 100644 index 0d6da1c..0000000 --- a/xibuilds/bc.xibuild +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -DEPS=(readline) - -SOURCE=https://github.com/gavinhoward/bc -DESC="An arbitrary precision numeric processing language" - -build () { -    CC=gcc ./configure --prefix=/usr -G -O3 -    make -    make test -    make DESTDIR=$PKG_DEST install -} - - diff --git a/xibuilds/binutils.xibuild b/xibuilds/binutils.xibuild deleted file mode 100644 index a8b0b4d..0000000 --- a/xibuilds/binutils.xibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DEPS=(glib zlib elfutils) - -SOURCE=git://sourceware.org/git/binutils.git -DESC="tools for handling object files" - -build () { -    ./configure --prefix=/usr --disable-nls --disable-werror  -    make -    make DESTDIR=$PKG_DEST install -} - diff --git a/xibuilds/bzip2.xibuild b/xibuilds/bzip2.xibuild deleted file mode 100644 index d674a5d..0000000 --- a/xibuilds/bzip2.xibuild +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -DEPS=(glibc sh) - -SOURCE=git://sourceware.org/git/bzip2.git -DESC="a selection of programs for compressing and decompressing bzip2 files" - - -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/xibuilds/dejagnu.xibuild b/xibuilds/dejagnu.xibuild deleted file mode 100644 index 2e6acdc..0000000 --- a/xibuilds/dejagnu.xibuild +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -DEPS=(sh expect) - -SOURCE=git://git.sv.gnu.org/dejagnu.git -DESC="a framework for running test suites on GNU tools" - - -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/xibuilds/expect.xibuild b/xibuilds/expect.xibuild deleted file mode 100644 index d2fed3c..0000000 --- a/xibuilds/expect.xibuild +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -DEPS=(tcl) - -SOURCE=https://github.com/aeruder/expect -DESC="tools for automating interactive applications" - -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/xibuilds/file.xibuild b/xibuilds/file.xibuild deleted file mode 100644 index 0e4da82..0000000 --- a/xibuilds/file.xibuild +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -DEPS=(glibc zlib xz bzip2) - -SOURCE=http://ftp.astron.com/pub/file/file-5.40.tar.gz -DESC="a utility for determining the type of a given file or files" - -build () { -    ./configure --prefix=/usr  -    make -    make check -    make DESTDIR=$PKG_DEST install -} - - diff --git a/xibuilds/flex.xibuild b/xibuilds/flex.xibuild deleted file mode 100644 index 5502288..0000000 --- a/xibuilds/flex.xibuild +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -DEPS=(glibc m4 sh) - -SOURCE=https://github.com/westes/flex -DESC="a utility for generating programs that recognize patterns in text" - -build () { -    ./autogen.sh -    ./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/xibuilds/gcc.xibuild b/xibuilds/gcc.xibuild deleted file mode 100644 index f72f02b..0000000 --- a/xibuilds/gcc.xibuild +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-11.2.0/gcc-11.2.0.tar.xz - - -build () { -    case $(uname -m) in -  x86_64) -    sed -e '/m64=/s/lib64/lib/' \ -        -i.orig gcc/config/i386/t-linux64 -  ;; -esac - -     - -    mkdir -v build -    cd build -    ../configure --prefix=/usr --disable-multilib --disable-bootstrap -    make -    make DESTDIR=$PKG_DEST install -} - diff --git a/xibuilds/glibc.xibuild b/xibuilds/glibc.xibuild deleted file mode 100644 index cc943de..0000000 --- a/xibuilds/glibc.xibuild +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://ftp.gnu.org/gnu/glibc/glibc-2.34.tar.xz -DESC="The main gnu C library providing basic routines and procedures" - -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/xibuilds/gmp.xibuild b/xibuilds/gmp.xibuild deleted file mode 100644 index 9161a73..0000000 --- a/xibuilds/gmp.xibuild +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -DEPS=(gcc-libs sh) - -SOURCE=https://gmplib.org/download/gmp/gmp-6.2.1.tar.lz -DESC="a collection of mathematical libraries" - -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 -} diff --git a/xibuilds/iana-etc.xibuild b/xibuilds/iana-etc.xibuild deleted file mode 100644 index be9b261..0000000 --- a/xibuilds/iana-etc.xibuild +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -DEPS=() - -SOURCE=https://github.com/Mic92/iana-etc -DESC="A set of data from the internet assigned numbers authority providing data for network services and protocols" - -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/xibuilds/libcap.xibuild b/xibuilds/libcap.xibuild deleted file mode 100644 index 9e3ec76..0000000 --- a/xibuilds/libcap.xibuild +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -DEPS=(glibc pam) - -SOURCE=https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-2.59.tar.gz - -DESC="POSIX 1003.1e capabilities" - -build () { -    sed -i '/install -m.*STA/d' libcap/Makefile - -    make prefix=/usr lib=lib - -    make test -    make prefix=/usr lib=lib DESTDIR=$PKG_DEST install - -} - -package() { -    chmod -v 755 $PKG_DEST/usr/lib/lib{cap,psx}.so.* -} diff --git a/xibuilds/m4.xibuild b/xibuilds/m4.xibuild deleted file mode 100644 index 9a311a5..0000000 --- a/xibuilds/m4.xibuild +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -DEPS=(glibc bash) - -SOURCE=git://git.sv.gnu.org/m4 -DESC="the gnu m4 macro processor" - - -build () { -    git checkout branch-1.4 -    ./bootstrap - -    ./configure --prefix=/usr  -    make -    make DESTDIR=$PKG_DEST install -} diff --git a/xibuilds/mpc.xibuild b/xibuilds/mpc.xibuild deleted file mode 100644 index d242a83..0000000 --- a/xibuilds/mpc.xibuild +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -DEPS=(mpfr) - -SOURCE=http://www.multiprecision.org/downloads/mpc-1.2.0.tar.gz -DESC="Library for the arithmetic of complex numbers with arbitrarily high precision" - -build () { -    ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/mpc-1.2.0 - -    make -    make html - -    make check - -    make DESTDIR=$PKG_DEST install -    make DESTDIR=$PKG_DEST install-html -} diff --git a/xibuilds/mpfr.xibuild b/xibuilds/mpfr.xibuild deleted file mode 100644 index 4895dc9..0000000 --- a/xibuilds/mpfr.xibuild +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -DEPS=(glibc gmp) -SOURCE=https://www.mpfr.org/mpfr-current/mpfr-4.1.0.tar.xz - -DESC="Multiple-precision floating-point library" - -build () { -    ./configure --prefix=/usr --disable-static --enable-thread-safe --docdir=/usr/share/doc/mpfr-4.1.0 -    make -    make html - -    make check - -    make DESTDIR=$PKG_DEST install -    make DESTDIR=$PKG_DEST install-html -} - diff --git a/xibuilds/ncurses.xibuild b/xibuilds/ncurses.xibuild deleted file mode 100644 index 064fe07..0000000 --- a/xibuilds/ncurses.xibuild +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://invisible-mirror.net/archives/ncurses/ncurses-6.2.tar.gz - -DESC="curses emulation library" - -build () { -    ./configure --prefix=/usr --mandir=/usr/share/man --with-shared --without-debug --without-normal --enable-pc-files --enable-widec - -    make - -    make DESTDIR=$PKG_DEST install -} - - -package () { -    for lib in ncurses form panel menu ; do -        rm -vf                    $PKG_DEST/usr/lib/lib${lib}.so -        echo "INPUT(-l${lib}w)" > $PKG_DEST/usr/lib/lib${lib}.so -        ln -sfv ${lib}w.pc        $PKG_DEST/usr/lib/pkgconfig/${lib}.pc -        rm -vf                     /usr/lib/libcursesw.so -    done - -    echo "INPUT(-lncursesw)" > $PKG_DEST/usr/lib/libcursesw.so -    ln -sfv libncurses.so      $PKG_DEST/usr/lib/libcurses.so - - -    rm -fv $PKG_DEST/usr/lib/libncurses++w.a - -    mkdir -v       $PKG_DEST/usr/share/doc/ncurses-6.2 -    cp -v -R doc/* $PKG_DEST/usr/share/doc/ncurses-6.2 -} diff --git a/xibuilds/pkg-config.xibuild b/xibuilds/pkg-config.xibuild deleted file mode 100644 index 0b5de5a..0000000 --- a/xibuilds/pkg-config.xibuild +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) -SOURCE=https://gitlab.freedesktop.org/pkg-config/pkg-config - -DESC="a tool for passing the include path to build tools during configure and make phases of package installations" - -build () { -    ./autogen.sh -    ./configure --prefix=/usr --disable-host-tool --docdir=/usr/share/doc/pkg-config - -    make -    make check - -    make DESTDIR=$PKG_DEST install -} diff --git a/xibuilds/readline.xibuild b/xibuilds/readline.xibuild deleted file mode 100644 index 844b109..0000000 --- a/xibuilds/readline.xibuild +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -DEPS=(glibc ncurses) - -SOURCE=https://git.savannah.gnu.org/git/readline.git -DESC="a set of libraries that offer command line editing and history capabilities" - - -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/xibuilds/sed.xibuild b/xibuilds/sed.xibuild deleted file mode 100644 index 087620e..0000000 --- a/xibuilds/sed.xibuild +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -DEPS=(glibc acl attr) - -SOURCE=https://www.gnu.org/software/sed/ -DESC="GNU stream editor" - -build () { -    ./configure --prefix=/usr -    make -    make html - -    make DESTDIR=$PKG_DEST install  -} - -package () { -    install -d -m755    $PKG_DEST/usr/share/doc/sed-4.8 -    install -m644 doc/sed.html $PKG_DEST/usr/share/doc/sed-4.8 -} diff --git a/xibuilds/shadow.xibuild b/xibuilds/shadow.xibuild deleted file mode 100644 index ed786d4..0000000 --- a/xibuilds/shadow.xibuild +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -DEPS=(pam acl audit libcap libxcrypt) - -SOURCE=https://github.com/shadow-maint/shadow -DESC="Password and account management tool suite with support for shadow files and PAM" - -build () { -    sed -i 's/groups$(EXEEXT) //' src/Makefile.in -    find man -name Makefile.in -exec sed -i 's/groups\.1 / /'   {} \; -    find man -name Makefile.in -exec sed -i 's/getspnam\.3 / /' {} \; -    find man -name Makefile.in -exec sed -i 's/passwd\.5 / /'   {} \; - - -    sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD SHA512:' \ -    -e 's:/var/spool/mail:/var/mail:'                 \ -    -e '/PATH=/{s@/sbin:@@;s@/bin:@@}'                \ -     -    sed -e "224s/rounds/min_rounds/" -i libmisc/salt.c - -    mkdir -p $PKG_DEST/usr/bin -    touch $PKG_DEST/usr/bin/passwd -    ./configure --sysconfdir=/etc --with-group-name-max-length=32 - -    make - -    make exec_prefix=/usr DESTDIR=$PKG_DEST install - -    make DESTDIR=$PKG_DEST -C man install-man - -} - -package () { -    mkdir -p $PKG_DEST/etc/default -} diff --git a/xibuilds/tar.xibuild b/xibuilds/tar.xibuild deleted file mode 100644 index 829d6d2..0000000 --- a/xibuilds/tar.xibuild +++ /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/xibuilds/tcl.xibuild b/xibuilds/tcl.xibuild deleted file mode 100644 index d5d0f7e..0000000 --- a/xibuilds/tcl.xibuild +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -DEPS=(zlib) - -SOURCE=https://github.com/tcltk/tcl -DESC="the Tool Command language, a robust general purpose scripting language" - - -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/xibuilds/xibuild.xibuild b/xibuilds/xibuild.xibuild deleted file mode 100644 index cf88540..0000000 --- a/xibuilds/xibuild.xibuild +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -DEPS=(bash tar) - -SOURCE=https://git.davidovski.xyz/xibuild.git - -package () { -    cp xibuild $PKG_DEST/usr/bin/ -} - diff --git a/xibuilds/xz.xibuild b/xibuilds/xz.xibuild deleted file mode 100644 index d57d72a..0000000 --- a/xibuilds/xz.xibuild +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -DEPS=(sh) - -SOURCE=https://git.tukaani.org/xz.git -DESC="a selection of programs for compressing and decompressing files with the lzma and xz compression formats" - - -build () { -    ./autogen.sh -    ./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/xibuilds/zlib.xibuild b/xibuilds/zlib.xibuild deleted file mode 100644 index 426fdfe..0000000 --- a/xibuilds/zlib.xibuild +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://github.com/madler/zlib -DESC="compression and decompression routines used by some programs" - - -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/xibuilds/zstd.xibuild b/xibuilds/zstd.xibuild deleted file mode 100644 index 9e90fd7..0000000 --- a/xibuilds/zstd.xibuild +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -DEPS=(glibc gcc-libs zlib xz lz4) - -SOURCE=https://github.com/facebook/zstd -DESC="the Zstandard real-time compression algorithm" - -build () { -    make -    make prefix=/usr check -    make DESTDIR=$PKG_DEST install -} | 
