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