Magellan Linux

Contents of /branches/magellan-next/core/mingetty/mingetty-1.08-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6218 - (show annotations) (download)
Thu Aug 19 20:38:26 2010 UTC (13 years, 8 months ago) by niro
File size: 803 byte(s)
imported from trunk
1 # $Id$
2
3 PNAME="mingetty"
4 PVER="1.08"
5 PBUILD="r4"
6
7 PCATEGORIE="net-dialup"
8 STATE="unstable"
9
10 DESCRIPTION="A compact getty program for virtual consoles only."
11 HOMEPAGE="http://sourceforge.net/projects/mingetty/"
12
13 DEPEND=">= virtual/glibc"
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude mtools
19
20 SRC_URI=(
21 sourceforge://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${PNAME}-1.00-opt.patch
24 )
25
26 UP2DATE="updatecmd_sourceforge ${PNAME}"
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31 cd ${SRCDIR}
32
33 # fixes CFLAGS
34 mpatch ${PNAME}-1.00-opt.patch || die
35 }
36
37 src_compile()
38 {
39 cd ${SRCDIR}
40 mmake RPM_OPTS="${CFLAGS}" || die
41 }
42
43 src_install()
44 {
45 cd ${SRCDIR}
46
47 minstalldir /sbin || die
48
49 minstallexec mingetty /sbin || die
50 minstallman mingetty.8 || die
51 }

Properties

Name Value
svn:keywords Id