gentoo/app-arch/zoo/zoo-2.10-r6.ebuild
Fabian Groffen 2d25fad95c
*/*: drop *-linux keywords
Bug: https://bugs.gentoo.org/473598
Bug: https://bugs.gentoo.org/720224
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2025-12-19 10:51:55 +01:00

40 lines
861 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic toolchain-funcs
DESCRIPTION="Manipulate archives of files in compressed form"
HOMEPAGE="https://github.com/jduerstock/zoo"
SRC_URI="http://http.debian.net/debian/pool/main/z/${PN}/${PN}_${PV}.orig.tar.gz
http://http.debian.net/debian/pool/main/z/${PN}/${PN}_${PV}-28.debian.tar.xz"
S="${WORKDIR}"/${P}.orig
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
PATCHES=(
"${WORKDIR}"/debian/patches/.
"${FILESDIR}"/${P}-gentoo-fbsd-r1.patch
"${FILESDIR}"/${P}-makefile.patch
"${FILESDIR}"/${P}-implicit-int.patch
)
src_configure() {
tc-export CC
}
src_compile() {
# bug #943903
append-cflags -std=gnu17
emake linux
}
src_install() {
dobin zoo fiz
doman zoo.1 fiz.1
}