mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-07-12 18:19:42 -07:00
PortMaster 100% covered
This commit is contained in:
@@ -9,6 +9,7 @@ PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/plougher/squashfs-tools"
|
||||
PKG_URL="https://github.com/plougher/squashfs-tools/releases/download/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_HOST="ccache:host zlib:host lzo:host zstd:host"
|
||||
PKG_DEPENDS_TARGET="toolchain zlib lzo zstd xz"
|
||||
PKG_NEED_UNPACK="$(get_pkg_directory zlib) $(get_pkg_directory lzo) $(get_pkg_directory zstd)"
|
||||
PKG_LONGDESC="Tools for squashfs, a highly compressed read-only filesystem for Linux."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
@@ -29,3 +30,21 @@ makeinstall_host() {
|
||||
mkdir -p ${TOOLCHAIN}/bin
|
||||
cp squashfs-tools/mksquashfs ${TOOLCHAIN}/bin
|
||||
}
|
||||
|
||||
make_target() {
|
||||
make -C squashfs-tools clean
|
||||
make -C squashfs-tools \
|
||||
mksquashfs unsquashfs \
|
||||
XZ_SUPPORT=1 \
|
||||
LZO_SUPPORT=1 \
|
||||
LZ4_SUPPORT=0 \
|
||||
ZSTD_SUPPORT=1 \
|
||||
XATTR_SUPPORT=0 \
|
||||
XATTR_DEFAULT=0
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/usr/bin
|
||||
cp squashfs-tools/mksquashfs ${INSTALL}/usr/bin/
|
||||
cp squashfs-tools/unsquashfs ${INSTALL}/usr/bin/
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2024-present ArchR (https://github.com/archr-linux/Arch-R)
|
||||
|
||||
PKG_NAME="unzip"
|
||||
PKG_VERSION="6.0"
|
||||
PKG_SHA256="036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37"
|
||||
PKG_LICENSE="Info-ZIP"
|
||||
PKG_SITE="https://infozip.sourceforge.net/UnZip.html"
|
||||
PKG_URL="https://downloads.sourceforge.net/infozip/unzip60.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Info-ZIP unzip utility for extracting ZIP archives."
|
||||
PKG_TOOLCHAIN="make"
|
||||
|
||||
make_target() {
|
||||
make -f unix/Makefile generic CC="${CC}" LD="${CC}" CF="${CFLAGS} -DUNIX -I." LF2="${LDFLAGS}"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/usr/bin
|
||||
cp -a unzip ${INSTALL}/usr/bin/
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2024-present ArchR (https://github.com/archr-linux/Arch-R)
|
||||
|
||||
PKG_NAME="innoextract"
|
||||
PKG_VERSION="1.9"
|
||||
PKG_SHA256="6344a69fc1ed847d4ed3e272e0da5998948c6b828cb7af39c6321aca6d45571f"
|
||||
PKG_LICENSE="Zlib"
|
||||
PKG_SITE="https://constexpr.org/innoextract/"
|
||||
PKG_URL="https://github.com/dscharrer/innoextract/releases/download/${PKG_VERSION}/innoextract-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain boost xz zlib"
|
||||
PKG_LONGDESC="Tool for extracting Inno Setup installers (GOG games)."
|
||||
PKG_TOOLCHAIN="cmake"
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET="-DCMAKE_BUILD_TYPE=Release \
|
||||
-DUSE_LZMA=ON"
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/usr/bin
|
||||
cp -a innoextract ${INSTALL}/usr/bin/
|
||||
}
|
||||
@@ -8,11 +8,11 @@ PKG_SITE="https://libreelec.tv"
|
||||
PKG_SECTION="virtual"
|
||||
PKG_LONGDESC="Root package used to build and create complete image"
|
||||
|
||||
PKG_DEPENDS_TARGET="toolchain squashfs-tools:host dosfstools:host fakeroot:host kmod:host \
|
||||
PKG_DEPENDS_TARGET="toolchain squashfs-tools:host squashfs-tools dosfstools:host fakeroot:host kmod:host \
|
||||
mtools:host populatefs:host libc gcc linux linux-drivers linux-firmware \
|
||||
${BOOTLOADER} busybox umtprd util-linux usb-modeswitch poppler jq socat \
|
||||
p7zip file initramfs grep util-linux btrfs-progs zstd lz4 empty lzo libzip \
|
||||
bash coreutils sed gawk findutils diffutils dos2unix xdelta3 \
|
||||
bash coreutils sed gawk findutils diffutils dos2unix xdelta3 unzip innoextract \
|
||||
system-utils autostart quirks powerstate gnupg \
|
||||
gzip six xmlstarlet pyudev dialog network mako-osd archr \
|
||||
pacman"
|
||||
|
||||
Reference in New Issue
Block a user