Magellan Linux

Contents of /branches/magellan-next/core/dash/dash-0.5.6.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7913 - (show annotations) (download)
Fri Jun 3 22:59:50 2011 UTC (13 years ago) by niro
File size: 798 byte(s)
auto added: ver bump to 0.5.6.1-r2
1 # $Id$
2
3 PNAME="dash"
4 PVER="0.5.6.1"
5 PBUILD="r2"
6
7 PCATEGORIE="app-shells"
8 STATE="unstable"
9
10 DESCRIPTION="Small and fast POSIX-compliant shell."
11 HOMEPAGE="http://gondor.apana.org.au/~herbert/dash/"
12
13 DEPEND=""
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude mbuild mtools
19
20 SRC_URI=(
21 http://gondor.apana.org.au/~herbert/${PNAME}/files/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${PNAME}-${PVER}-do-not-close-stderr.patch
24 )
25
26 UP2DATE="updatecmd '${HOMEPAGE}/files/?C=M;O=A' | grep -v git | lasttarball gz"
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31 cd ${SRCDIR}
32 mpatch ${PNAME}-${PVER}-do-not-close-stderr.patch || die
33 }
34
35 postinstall()
36 {
37 # make sure dash is in /etc/shells
38 grep -qF '^/bin/dash$' /etc/shells || echo '/bin/dash' >> /etc/shells
39 }