summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-02 00:20:44 +0000
committerdavidovski <david@davidovski.xyz>2022-02-02 00:20:44 +0000
commit355f6f992c1590b39bca26cebf49f85bf551ece0 (patch)
treee58c621590bcb0f31b28cbb6fb5b28e48431d75b
parentb5ca62550aca152dce6ad9ad9b29d731448ddeb0 (diff)
added unzip
-rw-r--r--repo/util/unzip.xibuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/util/unzip.xibuild b/repo/util/unzip.xibuild
new file mode 100644
index 0000000..6706ed3
--- /dev/null
+++ b/repo/util/unzip.xibuild
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+MAKEDEPS=(make)
+DEPS=(bzip2 bash)
+
+PKG_VER=6.0
+SOURCE=https://downloads.sourceforge.net/infozip/unzip$(echo $PKG_VER | sed "s/.//g").tar.gz
+ADDITIONAL=(
+ https://www.linuxfromscratch.org/patches/blfs/svn/unzip-$PKG_VER.consolidated_fixes-1.patch
+ )
+
+DESC="Compressor/archiver for creating and modifying zipfiles"
+
+prepare () {
+ patch -Np1 -i unzip-$PKG_VER-consolidated_fixes-1.patch
+}
+
+build () {
+ make -f unix/Makefile generic_gcc
+}
+
+package () {
+ make -f unix/Makefile prefix=$PKG_DEST/usr install
+}