Magellan Linux

Annotation of /branches/R11-unstable/core/ed/ed-1.1-r6.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13201 - (hide annotations) (download)
Wed Sep 5 09:39:40 2012 UTC (11 years, 8 months ago) by niro
Original Path: trunk/core/ed/ed-1.1-r6.smage2
File size: 719 byte(s)
-added missing provides
1 niro 13201 # $Id$
2    
3     PNAME="ed"
4     PVER="1.1"
5     PBUILD="r6"
6    
7     PCAT="sys-apps"
8    
9     DESCRIPTION="Your basic line editor."
10     HOMEPAGE="http://www.gnu.org/software/ed/"
11    
12     DEPEND=">= virtual/glibc"
13     SDEPEND=">= sys-apps/texinfo-4"
14     PROVIDE="virtual/ed"
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     minstalldir /usr/share/man/man1 || die
41     minstall mandir=${BINDIR}/usr/share/man/man1 || die
42    
43     minstalldocs ChangeLog COPYING NEWS POSIX README THANKS TODO || die
44     }