Contents of /branches/magellan-next/deprecated/mingetty/mingetty-1.08-r5.smage2
Parent Directory | Revision Log
Revision 9491 -
(show annotations)
(download)
Fri Dec 2 14:05:48 2011 UTC (12 years, 9 months ago) by niro
File size: 860 byte(s)
Fri Dec 2 14:05:48 2011 UTC (12 years, 9 months ago) by niro
File size: 860 byte(s)
-moved to 'deprecated'
1 | # $Id: mingetty-1.08-r4.smage2 3151 2009-10-13 22:39:37Z niro $ |
2 | |
3 | PNAME="mingetty" |
4 | PVER="1.08" |
5 | PBUILD="r5" |
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 | } |