summaryrefslogtreecommitdiff
path: root/repo/core/bzip2.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 01:23:51 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 01:23:51 +0000
commitcb447620084a20be80d116c81c2e9ec110be7118 (patch)
tree9fc0d714abbb5c6326b60616a5fd27ec9f984895 /repo/core/bzip2.xibuild
parent153011e9129c6055ef21c48caf65a23e74a91418 (diff)
restructured repo system
Diffstat (limited to 'repo/core/bzip2.xibuild')
-rw-r--r--repo/core/bzip2.xibuild41
1 files changed, 0 insertions, 41 deletions
diff --git a/repo/core/bzip2.xibuild b/repo/core/bzip2.xibuild
deleted file mode 100644
index f60aece..0000000
--- a/repo/core/bzip2.xibuild
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-DEPS=(glibc sh)
-
-SOURCE=git://sourceware.org/git/bzip2.git
-BRANCH=bzip2-1.0.8
-DESC="a selection of programs for compressing and decompressing bzip2 files"
-
-
-build () {
- #curl https://www.linuxfromscratch.org/patches/lfs/development/bzip2-1.0.8-install_docs-1.patch > bzip2-1.0.8-install_docs-1.patch
-
- #patch -Np1 -i bzip2-1.0.8-install_docs-1.patch
-
-
- # ensure symbolic links are relative
- sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile
-
- #sed -i "s@(PREFIX)/man@(PREFIX)/share/man@g" 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
- ln -sfv bzip2 $i
- done
-
- # remove a useless static library
- rm -fv $PKG_DEST/usr/lib/libbz2.a
-}
-