blob: 46137b1c2f59d45b2d1a64b4631bc94a7e1d0109 [file] [log] [blame]
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/localshell/localshell-1.1.ebuild,v 1.5 2009/09/23 16:16:56 patrick Exp $
DESCRIPTION="Localshell allows per-user/group local control of shell execution."
HOMEPAGE="http://oss.orbis-terrarum.net/localshell/"
SRC_URI="${HOMEPAGE}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE=""
DEPEND=""
#RDEPEND=""
src_compile() {
# this is a shell, it needs to be in /bin
econf --bindir=/bin --sysconfdir=/etc || die "econf failed"
emake || die "emake failed"
}
src_install() {
emake install DESTDIR="${D}" || die "emake install failed"
}
pkg_postinst() {
elog "Remember to add /bin/localshell to /etc/shells and create"
elog "/etc/localshell.conf based on the included configuration examples"
}