summaryrefslogtreecommitdiff
path: root/repo/system/bzip2.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 02:27:41 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 02:27:41 +0000
commit91ed29d7dda0c5764bfc991985bf98adab0890f0 (patch)
tree936e59025c55e921ec06ad202991c5b66710abc2 /repo/system/bzip2.xibuild
parentcb447620084a20be80d116c81c2e9ec110be7118 (diff)
added PKG_VER to xibuilds
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 f60aece..f01a6b7 100644
--- a/repo/system/bzip2.xibuild
+++ b/repo/system/bzip2.xibuild
@@ -2,15 +2,16 @@
DEPS=(glibc sh)
+PKG_VER=1.0.8
SOURCE=git://sourceware.org/git/bzip2.git
-BRANCH=bzip2-1.0.8
+BRANCH=bzip2-$PKG_VER
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
+ #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-1.0.8-install_docs-1.patch
+ #patch -Np1 -i bzip2-$PKG_VER-install_docs-1.patch
# ensure symbolic links are relative
@@ -28,7 +29,7 @@ build () {
package () {
cp -av libbz2.so* $PKG_DEST/usr/lib
- cp -av libbz2.so.1.0.8 $PKG_DEST/usr/lib/libbz2.so
+ cp -av libbz2.so.$PKG_VER $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