You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
873 B
31 lines
873 B
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
DESCRIPTION="Localshell allows per-user/group local control of shell execution"
|
|
HOMEPAGE="http://git.orbis-terrarum.net/?p=infrastructure/localshellc.git;a=summary"
|
|
SRC_URI="http://git.orbis-terrarum.net/?p=infrastructure/localshellc.git;a=summary/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc ~ppc64 x86"
|
|
|
|
src_configure() {
|
|
# this is a shell, it needs to be in /bin
|
|
econf --bindir=/bin --sysconfdir=/etc
|
|
}
|
|
|
|
src_install() {
|
|
emake install DESTDIR="${D}"
|
|
|
|
mv "${ED}"/usr/share/doc/${P}/ "${ED}"/usr/share/doc/${PF} || die
|
|
|
|
rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL} || die
|
|
}
|
|
|
|
pkg_postinst() {
|
|
elog "Remember to add /bin/localshell to /etc/shells and create"
|
|
elog "/etc/localshell.conf based on the included configuration examples"
|
|
}
|