gentoo/sys-fs/cramfs/cramfs-2.1.ebuild
Michał Górny 5153a38778
sys-*/ Update for virtual/zlib
Update done using:

```
git grep -l sys-libs/zlib sys-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g
git grep -l virtual/zlib-ng sys-* | xargs sed -i -e s@virtual/zlib-ng@sys-libs/zlib-ng@g
git diff --name-only | xargs copybump
git diff --name-only | xargs grep -l PYTHON_COMPAT | xargs gpy-impl -@dead
pkgcheck scan --commits -c SourcingCheck,VisibilityCheck --exit error
```

Plus reverts in sys-libs/minizip-ng and sys-libs/zlib-ng.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-11-04 09:20:05 +01:00

31 lines
653 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit toolchain-funcs
DESCRIPTION="Linux filesystem designed to be simple, small, and to compress things well"
HOMEPAGE="https://github.com/npitre/cramfs-tools"
SRC_URI="https://github.com/npitre/cramfs-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ppc ~sparc x86"
IUSE=""
DEPEND="virtual/zlib:="
RDEPEND="${DEPEND}"
S="${WORKDIR}/cramfs-tools-${PV}"
src_compile() {
emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)"
}
src_install() {
into /
dosbin mkcramfs cramfsck
dodoc README NOTES
}