dev-util/cupt - 2.10.3 (nest)

Search

Package Information

Description:
Package manager for Debian
Homepage:
https://github.com/jackyf/cupt
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
2.10.3 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit bash-completion-r1 cmake

DESCRIPTION="Package manager for Debian"
HOMEPAGE="https://github.com/jackyf/cupt"
SRC_URI="https://github.com/jackyf/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"

RDEPEND="dev-libs/boost:0=
	dev-libs/libgcrypt:0=
	net-misc/curl[gnutls]"
DEPEND="${RDEPEND}
	sys-libs/readline:0="
BDEPEND="dev-util/debhelper
	sys-devel/gettext
	doc? ( app-text/doxygen )"

src_prepare() {
	# don't link against Debian libcurl
	sed -i '/target_link_libraries/s/-gnutls//' cpp/downloadmethods/CMakeLists.txt \
		|| die "sed failed for cpp/downloadmethods/CMakeLists.txt"
	# respect multilib paths
	sed -i '/install(TARGETS/s/lib)/lib64)/' cpp/lib/CMakeLists.txt \
		|| die "sed failed for cpp/lib/CMakeLists.txt"

	if ! use doc ; then
		sed -i '/add_subdirectory(doc)/d' CMakeLists.txt \
			|| die "sed failed for CMakeLists.txt"
	fi

	cmake_src_prepare
}

src_install() {
	cmake_src_install

	newbashcomp scripts/bash_completion cupt
	insinto /etc/logrotate.d
	newins scripts/logrotate cupt
}

USE Flags

doc

Dependencies

DEPEND

dev-libs/boost:0=
	dev-libs/libgcrypt:0=
	net-misc/curl[gnutls]
	sys-libs/readline:0=

RDEPEND

dev-libs/boost:0=
	dev-libs/libgcrypt:0=
	net-misc/curl[gnutls]

BDEPEND

dev-util/debhelper
	sys-devel/gettext
	doc? ( app-text/doxygen )

Manifest for 2.10.3

Type File Size Source URLs
DIST cupt-2.10.3.tar.gz 459415 bytes https://github.com/jackyf/cupt/archive/2.10.3.tar.gz