Magellan Linux

Contents of /smage/trunk/core/nano/nano-2.0.7-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6 - (show annotations) (download)
Sun Jan 11 01:07:49 2009 UTC (15 years, 4 months ago) by niro
File size: 920 byte(s)
-fixed old cvs headers
1 # $Id$
2
3 PNAME="nano"
4 PVER="2.0.7"
5 PBUILD="r1"
6
7 PCATEGORIE="app-editors"
8 STATE="unstable"
9
10 DESCRIPTION="Nano, small editor, aimed to replaced pico."
11 HOMEPAGE="http://www.nano-editor.org/"
12
13 DEPEND=">= sys-libs/ncurses-5.6"
14 PROVIDE="virtual/editor"
15
16 SRCFILE="${PNAME}-${PVER}.tar.gz"
17 SRCDIR="$BUILDDIR/${PNAME}-${PVER}"
18
19 # nanorc version
20 NRCVER="1.5"
21
22 sminclude mbuild mtools alx
23
24 SRC_URI=(
25 http://www.nano-editor.org/dist/v2.0/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 mirror://${PNAME}/nanorc-${NRCVER}
28 )
29
30 src_compile()
31 {
32 cd ${SRCDIR}
33
34 mconfigure --enable-color --enable-multibuffer --enable-nano-rc || die
35 mmake || die
36 }
37
38 src_install()
39 {
40 cd ${SRCDIR}
41
42 # needed directories
43 minstalldir /usr/share/doc/${PNAME}-${PVER}/examples || die
44
45 mmake DESTDIR=${BINDIR} install || die
46
47 minstalletc nanorc-${NRCVER} nanorc || die
48 minstallfile -s nanorc-${NRCVER} /usr/share/doc/${PNAME}-${PVER}/examples/nanorc || die
49 }

Properties

Name Value
svn:keywords Id