forked from void-linux/void-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
squashfs-tools: use makefile to install
closes void-linux#48214
- Loading branch information
1 parent
069b5ee
commit d29d187
Showing
1 changed file
with
2 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,8 @@ build_wrksrc="squashfs-tools" | |
build_style=gnu-makefile | ||
make_use_env=yes | ||
make_build_args="XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1 ZSTD_SUPPORT=1" | ||
make_install_args="INSTALL_PREFIX=\${DESTDIR}/usr INSTALL_MANPAGES_DIR=\${DESTDIR}/usr/share/man/man1" | ||
hostmakedepends="which" | ||
makedepends="zlib-devel lzo-devel liblzma-devel liblz4-devel libzstd-devel" | ||
short_desc="Tool to create and append to squashfs filesystems" | ||
maintainer="Duncaen <[email protected]>" | ||
|
@@ -14,14 +16,3 @@ homepage="https://github.com/plougher/squashfs-tools" | |
changelog="https://github.com/plougher/squashfs-tools/raw/master/CHANGES" | ||
distfiles="https://github.com/plougher/squashfs-tools/archive/refs/tags/${version}.tar.gz" | ||
checksum=94201754b36121a9f022a190c75f718441df15402df32c2b520ca331a107511c | ||
|
||
do_install() { | ||
vbin mksquashfs | ||
vbin unsquashfs | ||
ln -sf mksquashfs ${DESTDIR}/usr/bin/sqfstar | ||
ln -sf unsquashfs ${DESTDIR}/usr/bin/sqfscat | ||
|
||
for f in ../manpages/*.1; do | ||
vman $f | ||
done | ||
} |