sup-9999.ebuild - parlay - yet another gentoo overlay
HTML git clone https://git.parazyd.org/parlay
DIR Log
DIR Files
DIR Refs
DIR README
---
sup-9999.ebuild (692B)
---
1 # Copyright 1999-2025 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
3
4 EAPI=8
5
6 inherit git-r3 savedconfig
7
8 DESCRIPTION="small and secure tool for privilege escalation"
9 HOMEPAGE="https://parazyd.org/git/sup/"
10 EGIT_REPO_URI="https://git.parazyd.org/sup.git"
11
12 LICENSE="GPL-3+"
13 SLOT="0"
14 KEYWORDS=""
15 IUSE="savedconfig"
16
17 src_prepare() {
18 default
19 restore_config config.h
20 }
21
22 src_compile() {
23 emake all
24 }
25
26 src_install() {
27 emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
28 dodoc README
29 save_config config.h
30 }
31
32 pkg_postinst() {
33 einfo "This ebuild has support for user defined configs"
34 einfo "Please read this ebuild for more details and re-emerge as needed"
35 }