# $Header: /magellan-cvs/smage/sandboxshell/sandboxshell-1.1-r7.smage2,v 1.1 2008/08/17 09:23:04 niro Exp $ PNAME="sandboxshell" PVER="1.1" PBUILD="r7" PCATEGORIE="app-shells" STATE="unstable" DESCRIPTION="Sandboxed GNU Bourne again shell" HOMEPAGE="http://www.gentoo.org" DEPEND=">= sys-apps/sandbox-1.2 >= app-shells/bash-2.05b" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mtools SRC_URI=( mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-add-home-and-trap-support.patch mirror://${PNAME}/${PNAME}-${PVER}-libdir.patch ) src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # add support for sandbox libs in /usr/lib mpatch ${PNAME}-${PVER}-libdir.patch || die # added support for homedir and signaltraps mpatch ${PNAME}-${PVER}-add-home-and-trap-support.patch || die } src_install() { cd ${SRCDIR} minstallexec sandboxshell/sandboxshell || die minstallman sandboxshell/sandboxshell.1 || die minstalletc sandboxshell/sandboxshell.conf || die }