diff options
author | davidovski <david@davidovski.xyz> | 2022-01-13 19:49:37 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-13 19:49:37 +0000 |
commit | 2e534f6dcdbca6700bc18354925986b054330725 (patch) | |
tree | 39e6233e6e0c9fb737ce5c1987039c3a10df193c /repo/core/bzip2.xibuild | |
parent | 31741d5c284261ef59b0ce8839b47ff44a2f6bf7 (diff) |
fixed issues with headers
cleaned other packages to fit better with lfs
Diffstat (limited to 'repo/core/bzip2.xibuild')
-rw-r--r-- | repo/core/bzip2.xibuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/repo/core/bzip2.xibuild b/repo/core/bzip2.xibuild index f0b8f43..72a364c 100644 --- a/repo/core/bzip2.xibuild +++ b/repo/core/bzip2.xibuild @@ -8,10 +8,16 @@ 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 @@ -26,16 +32,10 @@ package () { 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 + # remove a useless static library rm -fv $PKG_DEST/usr/lib/libbz2.a - } |