Magellan Linux

Contents of /trunk/core/ed/ed-1.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 125 - (show annotations) (download)
Tue Oct 14 11:50:54 2008 UTC (15 years, 7 months ago) by niro
File size: 886 byte(s)
-move to "core"
1 # $Header: /magellan-cvs/smage/ed/ed-0.8-r1.smage2,v 1.1 2008/02/10 16:37:27 niro Exp $
2
3 PNAME="ed"
4 PVER="1.0"
5 PBUILD="r1"
6
7 PCATEGORIE="sys-apps"
8 STATE="unstable"
9
10 DESCRIPTION="Your basic line editor."
11 HOMEPAGE="http://www.gnu.org/software/ed/"
12
13 DEPEND=""
14 SDEPEND=">= sys-apps/texinfo-4"
15
16 SRCFILE="${PNAME}-${PVER}.tar.bz2"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18
19 sminclude mtools mbuild
20
21 SRC_URI=(
22 gnu://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 UP2DATE="updatecmd_gnu ${PNAME}"
27
28 src_compile()
29 {
30 cd ${SRCDIR}
31
32 ./configure --prefix=/usr --host=${CHOST} || die
33 mmake || die
34 }
35
36 src_install()
37 {
38 cd ${SRCDIR}
39
40 # needed directories
41 minstalldir /bin || die
42 minstalldir /usr/share/man/man1 || die
43
44 minstall mandir=${BINDIR}/usr/share/man/man1 || die
45 mv ${BINDIR}/usr/bin/{ed,red} ${BINDIR}/bin || die
46
47 minstalldocs ChangeLog COPYING NEWS POSIX README THANKS TODO || die
48 }

Properties

Name Value
svn:keywords Id