src_prepare-overlay/sys-apps/xbps/xbps-9999.ebuild
Alfred Wingate 881d907592
sys-apps/xbps: app-doc/doxygen -> app-text/doxygen
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-01-18 14:58:47 +02:00

58 lines
1.0 KiB
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="The X Binary Package System"
HOMEPAGE="https://voidlinux.org/xbps"
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/void-linux/xbps.git"
else
SRC_URI="https://github.com/void-linux/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="!test? ( test ) mirror"
LICENSE="BSD"
SLOT="0"
IUSE="debug doc lto static test"
COMMON_DEPEND="
>=app-arch/libarchive-3.3.3[lz4,zstd]
"
BDEPEND="
${COMMON_DEPEND}
virtual/pkgconfig
doc? (
app-text/doxygen
media-gfx/graphviz
)
"
DEPEND="
sys-libs/zlib
test? (
>=dev-libs/atf-0.15
)
"
RDEPEND="
${COMMON_DEPEND}
"
src_configure() {
local myconf=(
$(use_enable debug fulldebug)
$(use_enable doc api-docs)
$(use_enable lto)
$(use_enable static)
$(use_enable test tests)
)
econf "${myconf[@]}"
}
pkg_postinst() {
elog "WARNING! Use with caution!"
elog "XBPS may break your system."
}