Annotation of /smage/branches/branch_0.9.0/nano/nano-2.0.7-r1.smage2
Parent Directory | Revision Log
Revision 3 -
(hide annotations)
(download)
Sun Jan 11 00:48:53 2009 UTC (15 years, 8 months ago) by niro
Original Path: smage/trunk/extras/nano/nano-2.0.7-r1.smage2
File size: 1009 byte(s)
Sun Jan 11 00:48:53 2009 UTC (15 years, 8 months ago) by niro
Original Path: smage/trunk/extras/nano/nano-2.0.7-r1.smage2
File size: 1009 byte(s)
-import alx-0.9.0
1 | niro | 3 | # $Header: /alx-cvs/smage-eglibc/nano/nano-2.0.7-r1.smage2,v 1.1 2008/02/27 10:21:35 niro Exp $ |
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 |