mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 07:01:13 +02:00
sys-fs/squashfs-tools-ng: Import from Gentoo
This is needed by Catalyst 4. Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
parent
15cfc5badb
commit
82c6aacd71
2
sdk_container/src/third_party/portage-stable/sys-fs/squashfs-tools-ng/Manifest
vendored
Normal file
2
sdk_container/src/third_party/portage-stable/sys-fs/squashfs-tools-ng/Manifest
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST squashfs-tools-ng-1.3.0.tar.xz 585800 BLAKE2B 658ff825b2cda63116c29d8c582f54df5bd511a6da98e737527d54720ed95a541edc39b94f61195f4c99d125cbcc8db824ea9d1e2a7a7a557fb647f5e795d623 SHA512 10ddff837464227d97c3c2dabeefa408a63fbab4ddc8ca184f4ecce7288ac47c0c6baf6d10146f7e29e4a845592720e39281f779420f5ba0b1e7736c0dea73d7
|
||||||
|
DIST squashfs-tools-ng-1.3.1.tar.xz 585916 BLAKE2B 697131ddb9959bed388534f90c93e2e7495ef5aec9facf97e7d17475cff64d7a4badb709a16ae5e6da3ee89b1a1e3a49833bd15b9a0b4b364e15a565bd18e480 SHA512 0a433f7c3633cd5d8646d990744e31ed59c7012d5f8bb4fdb7892b892631f22a8fd0969f7d81de68f53e44670e71cb8e29729cd925a93b98ab3b6942bbc30662
|
14
sdk_container/src/third_party/portage-stable/sys-fs/squashfs-tools-ng/metadata.xml
vendored
Normal file
14
sdk_container/src/third_party/portage-stable/sys-fs/squashfs-tools-ng/metadata.xml
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>mattst88@gentoo.org</email>
|
||||||
|
<name>Matt Turner</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="tools">Build the gensquashfs, rdsquashfs, sqfs2tar, sqfsdiff, and tar2sqfs tools</flag>
|
||||||
|
</use>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">AgentD/squashfs-tools-ng</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,57 @@
|
|||||||
|
# Copyright 2019-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DESCRIPTION="A new set of tools for working with SquashFS images"
|
||||||
|
HOMEPAGE="https://github.com/AgentD/squashfs-tools-ng"
|
||||||
|
if [[ ${PV} = 9999* ]]; then
|
||||||
|
inherit autotools git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/AgentD/${PN}.git"
|
||||||
|
else
|
||||||
|
inherit libtool
|
||||||
|
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
SRC_URI="https://infraroot.at/pub/squashfs/${P}.tar.xz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="LGPL-3+ BSD-2 MIT tools? ( GPL-3+ )"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="lz4 +lzma lzo selinux +tools zstd"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
app-arch/bzip2:=
|
||||||
|
sys-libs/zlib:=
|
||||||
|
lz4? ( app-arch/lz4:= )
|
||||||
|
lzma? ( app-arch/xz-utils )
|
||||||
|
lzo? ( dev-libs/lzo:2 )
|
||||||
|
selinux? ( sys-libs/libselinux:= )
|
||||||
|
zstd? ( app-arch/zstd:= )
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
if [[ ${PV} = "9999" ]]; then
|
||||||
|
eautoreconf
|
||||||
|
else
|
||||||
|
elibtoolize
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
--disable-static
|
||||||
|
$(use_with lz4)
|
||||||
|
$(use_with lzo)
|
||||||
|
$(use_with selinux)
|
||||||
|
$(use_with tools)
|
||||||
|
$(use_with lzma xz)
|
||||||
|
$(use_with zstd)
|
||||||
|
)
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
find "${D}" -name "*.la" -delete || die
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
# Copyright 2019-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DESCRIPTION="A new set of tools for working with SquashFS images"
|
||||||
|
HOMEPAGE="https://github.com/AgentD/squashfs-tools-ng"
|
||||||
|
if [[ ${PV} = 9999* ]]; then
|
||||||
|
inherit autotools git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/AgentD/${PN}.git"
|
||||||
|
else
|
||||||
|
inherit libtool
|
||||||
|
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
SRC_URI="https://infraroot.at/pub/squashfs/${P}.tar.xz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="LGPL-3+ BSD-2 MIT tools? ( GPL-3+ )"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="lz4 +lzma lzo selinux +tools zstd"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
app-arch/bzip2:=
|
||||||
|
sys-libs/zlib:=
|
||||||
|
lz4? ( app-arch/lz4:= )
|
||||||
|
lzma? ( app-arch/xz-utils )
|
||||||
|
lzo? ( dev-libs/lzo:2 )
|
||||||
|
selinux? ( sys-libs/libselinux:= )
|
||||||
|
zstd? ( app-arch/zstd:= )
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
if [[ ${PV} = "9999" ]]; then
|
||||||
|
eautoreconf
|
||||||
|
else
|
||||||
|
elibtoolize
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
--disable-static
|
||||||
|
$(use_with lz4)
|
||||||
|
$(use_with lzo)
|
||||||
|
$(use_with selinux)
|
||||||
|
$(use_with tools)
|
||||||
|
$(use_with lzma xz)
|
||||||
|
$(use_with zstd)
|
||||||
|
)
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
find "${D}" -name "*.la" -delete || die
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
# Copyright 2019-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DESCRIPTION="A new set of tools for working with SquashFS images"
|
||||||
|
HOMEPAGE="https://github.com/AgentD/squashfs-tools-ng"
|
||||||
|
if [[ ${PV} = 9999* ]]; then
|
||||||
|
inherit autotools git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/AgentD/${PN}.git"
|
||||||
|
else
|
||||||
|
inherit libtool
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
SRC_URI="https://infraroot.at/pub/squashfs/${P}.tar.xz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="LGPL-3+ BSD-2 MIT tools? ( GPL-3+ )"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="lz4 +lzma lzo selinux +tools zstd"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
app-arch/bzip2:=
|
||||||
|
sys-libs/zlib:=
|
||||||
|
lz4? ( app-arch/lz4:= )
|
||||||
|
lzma? ( app-arch/xz-utils )
|
||||||
|
lzo? ( dev-libs/lzo:2 )
|
||||||
|
selinux? ( sys-libs/libselinux:= )
|
||||||
|
zstd? ( app-arch/zstd:= )
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
if [[ ${PV} = "9999" ]]; then
|
||||||
|
eautoreconf
|
||||||
|
else
|
||||||
|
elibtoolize
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
--disable-static
|
||||||
|
$(use_with lz4)
|
||||||
|
$(use_with lzo)
|
||||||
|
$(use_with selinux)
|
||||||
|
$(use_with tools)
|
||||||
|
$(use_with lzma xz)
|
||||||
|
$(use_with zstd)
|
||||||
|
)
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
find "${D}" -name "*.la" -delete || die
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user