Magellan Linux

Annotation of /trunk/todo/sandboxshell/sandboxshell-1.1-r7.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2569 - (hide annotations) (download)
Thu Jul 9 20:33:03 2009 UTC (14 years, 11 months ago) by niro
File size: 1028 byte(s)
-moved to 'todo'
1 niro 2 # $Header: /magellan-cvs/smage/sandboxshell/sandboxshell-1.1-r7.smage2,v 1.1 2008/08/17 09:23:04 niro Exp $
2    
3     PNAME="sandboxshell"
4     PVER="1.1"
5     PBUILD="r7"
6    
7     PCATEGORIE="app-shells"
8     STATE="unstable"
9    
10     DESCRIPTION="Sandboxed GNU Bourne again shell"
11     HOMEPAGE="http://www.gentoo.org"
12    
13     DEPEND=">= sys-apps/sandbox-1.2
14     >= app-shells/bash-2.05b"
15    
16     SRCFILE="${PNAME}-${PVER}.tar.bz2"
17     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18    
19     sminclude mtools
20    
21     SRC_URI=(
22     mirror://${PNAME}/${SRCFILE}
23     mirror://${PNAME}/${PNAME}-${PVER}-add-home-and-trap-support.patch
24     mirror://${PNAME}/${PNAME}-${PVER}-libdir.patch
25     )
26    
27     src_prepare()
28     {
29     munpack ${SRCFILE} || die
30     cd ${SRCDIR}
31    
32     # add support for sandbox libs in /usr/lib
33     mpatch ${PNAME}-${PVER}-libdir.patch || die
34    
35     # added support for homedir and signaltraps
36     mpatch ${PNAME}-${PVER}-add-home-and-trap-support.patch || die
37     }
38    
39     src_install()
40     {
41     cd ${SRCDIR}
42    
43     minstallexec sandboxshell/sandboxshell || die
44     minstallman sandboxshell/sandboxshell.1 || die
45     minstalletc sandboxshell/sandboxshell.conf || die
46     }

Properties

Name Value
svn:keywords Id