summaryrefslogtreecommitdiff
path: root/repo/system/bzip2.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/bzip2.xibuild')
-rw-r--r--repo/system/bzip2.xibuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/repo/system/bzip2.xibuild b/repo/system/bzip2.xibuild
index f01a6b7..fc2e887 100644
--- a/repo/system/bzip2.xibuild
+++ b/repo/system/bzip2.xibuild
@@ -8,7 +8,7 @@ BRANCH=bzip2-$PKG_VER
DESC="a selection of programs for compressing and decompressing bzip2 files"
-build () {
+patch () {
#curl https://www.linuxfromscratch.org/patches/lfs/development/bzip2-$PKG_VER-install_docs-1.patch > bzip2-$PKG_VER-install_docs-1.patch
#patch -Np1 -i bzip2-$PKG_VER-install_docs-1.patch
@@ -18,16 +18,17 @@ build () {
sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile
#sed -i "s@(PREFIX)/man@(PREFIX)/share/man@g" Makefile
+}
+build () {
make -f Makefile-libbz2_so
make clean
-
make
- make PREFIX=$PKG_DEST/usr install
-
}
package () {
+ make PREFIX=$PKG_DEST/usr install
+
cp -av libbz2.so* $PKG_DEST/usr/lib
cp -av libbz2.so.$PKG_VER $PKG_DEST/usr/lib/libbz2.so