summaryrefslogtreecommitdiff
path: root/squashfs-tools
diff options
context:
space:
mode:
authorMatt Housh <jaeger@crux.ninja>2019-07-30 11:04:00 -0500
committerMatt Housh <jaeger@crux.ninja>2019-07-30 11:04:00 -0500
commitbe5c35a5c1bb75795ac8452d12b9227622fa8634 (patch)
tree0d3a2f13290c7a6724c09c7b22ee9ae75a829b66 /squashfs-tools
parentbe7ee010a5951b61db874ccb4cb4af74f5496216 (diff)
downloadcontrib-be5c35a5c1bb75795ac8452d12b9227622fa8634.tar.gz
contrib-be5c35a5c1bb75795ac8452d12b9227622fa8634.tar.xz
squashfs-tools: fixed build with gcc 8, cleaned up, added lzo support
Diffstat (limited to 'squashfs-tools')
-rw-r--r--squashfs-tools/.signature4
-rw-r--r--squashfs-tools/Pkgfile14
2 files changed, 9 insertions, 9 deletions
diff --git a/squashfs-tools/.signature b/squashfs-tools/.signature
index 957e9bde7..79bd7c2aa 100644
--- a/squashfs-tools/.signature
+++ b/squashfs-tools/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF34BR/5yiKaRlDx7oDzE8m3VgnunrNhOJOsHOkrnMhT8C0uiukJ3qfcjsoizm3m9rX/+L0E1cJgLXTMUyrmp6lwk=
-SHA256 (Pkgfile) = 9820ebbec83c45f8badf44efd34ce8c34671644e68ddcf1a1fbce27e4235794c
+RWSagIOpLGJF38RUd+AIYJ4mVcYH0wxSQHp0e5+LRR39LlG2EIQOI7Vj7LAm+CpoHBDHJbBJt0CCH9NiDrOd0yhrTowBiVBEIA4=
+SHA256 (Pkgfile) = d5493dffdb54a15af74de7640f3378202c534820a556202d29d8ff9cc3e5804c
SHA256 (.footprint) = ef8b3c9cd38c4fe9ee8f80af59cbd2282bccef8f8a2eb00332ed67fa8a24fb57
SHA256 (squashfs4.3.tar.gz) = 0d605512437b1eb800b4736791559295ee5f60177e102e4d4ccd0ee241a5f3f6
diff --git a/squashfs-tools/Pkgfile b/squashfs-tools/Pkgfile
index 88fba44be..fa252843a 100644
--- a/squashfs-tools/Pkgfile
+++ b/squashfs-tools/Pkgfile
@@ -1,17 +1,17 @@
# Description: SquashFS tools
# URL: http://squashfs.sourceforge.net/
# Maintainer: Matt Housh, jaeger at morpheus dot net
-# Depends on: xz
-
+# Depends on: gzip lzo xz
+
name=squashfs-tools
version=4.3
-release=1
+release=2
source=(http://download.sourceforge.net/squashfs/squashfs${version}.tar.gz)
build() {
cd squashfs${version}/$name
- sed -i -e 's/^#\(XZ_SUPPORT = 1\)/\1/' Makefile
- make
- install -D -m 0755 mksquashfs ${PKG}/sbin/mksquashfs
- install -D -m 0755 unsquashfs ${PKG}/sbin/unsquashfs
+ sed -i -e '/^#include <ctype.h>/a #include <sys/sysmacros.h>' \
+ {mk,un}squashfs.c
+ make GZIP_SUPPORT=1 LZO_SUPPORT=1 XZ_SUPPORT=1
+ make install INSTALL_DIR=$PKG/sbin
}

Generated by cgit