mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-20 15:15:25 +01:00
28 lines
603 B
Bash
28 lines
603 B
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI="2"
|
|
|
|
DESCRIPTION="utility for changing the current real, effective or group id"
|
|
HOMEPAGE="http://www.bindshell.net/tools/become"
|
|
SRC_URI="http://www.bindshell.net/tools/become/become.tgz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
RDEPEND=""
|
|
|
|
S="${WORKDIR}"/$PN
|
|
|
|
src_prepare() {
|
|
sed -i "s|-g|$CFLAGS|g" Makefile || die "sed failed"
|
|
}
|
|
|
|
src_install() {
|
|
dosbin become || die "failed to install become"
|
|
doman become.8 || die "failed to install manpage"
|
|
}
|