Contents of /trunk/core/ed/ed-1.1-r4.smage2
Parent Directory | Revision Log
Revision 10362 -
(show annotations)
(download)
Sat Jan 21 12:28:52 2012 UTC (12 years, 8 months ago) by niro
File size: 782 byte(s)
Sat Jan 21 12:28:52 2012 UTC (12 years, 8 months ago) by niro
File size: 782 byte(s)
-import from magellan-next
1 | # $Id$ |
2 | |
3 | PNAME="ed" |
4 | PVER="1.1" |
5 | PBUILD="r4" |
6 | |
7 | PCAT="sys-apps" |
8 | |
9 | DESCRIPTION="Your basic line editor." |
10 | HOMEPAGE="http://www.gnu.org/software/ed/" |
11 | |
12 | DEPEND="" |
13 | SDEPEND=">= sys-apps/texinfo-4" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude mtools mbuild |
19 | |
20 | SRC_URI=( |
21 | gnu://${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | UP2DATE="updatecmd_gnu ${PNAME}" |
26 | |
27 | src_compile() |
28 | { |
29 | cd ${SRCDIR} |
30 | |
31 | ./configure --prefix=/usr --host=${CHOST} || die |
32 | mmake || die |
33 | } |
34 | |
35 | src_install() |
36 | { |
37 | cd ${SRCDIR} |
38 | |
39 | # needed directories |
40 | minstalldir /bin || die |
41 | minstalldir /usr/share/man/man1 || die |
42 | |
43 | minstall mandir=${BINDIR}/usr/share/man/man1 || die |
44 | mv ${BINDIR}/usr/bin/{ed,red} ${BINDIR}/bin || die |
45 | |
46 | minstalldocs ChangeLog COPYING NEWS POSIX README THANKS TODO || die |
47 | } |