Annotation of /trunk/core/kbd/kbd-1.14.1-r1.smage2
Parent Directory | Revision Log
Revision 130 -
(hide annotations)
(download)
Tue Oct 14 12:10:00 2008 UTC (15 years, 11 months ago) by niro
File size: 1247 byte(s)
Tue Oct 14 12:10:00 2008 UTC (15 years, 11 months ago) by niro
File size: 1247 byte(s)
-rev bump to 5.2-r2; rebuild against new toolchain
1 | niro | 128 | # $Header: /magellan-cvs/smage/kbd/kbd-1.13-r2.smage2,v 1.2 2008/02/13 13:37:08 niro Exp $ |
2 | |||
3 | PNAME="kbd" | ||
4 | PVER="1.14.1" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="sys-apps" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="Keyboard and console utilities" | ||
11 | HOMEPAGE="http://freshmeat.net/projects/kbd/" | ||
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 | ftp://ftp.altlinux.org/pub/people/legion/${PNAME}/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | ) | ||
24 | |||
25 | UP2DATE="updatecmd ftp://ftp.altlinux.org/pub/people/legion/kbd | grep ${PNAME}-[0-9].* | sort | lasttarball gz" | ||
26 | |||
27 | src_prepare() | ||
28 | { | ||
29 | munpack ${SRCFILE} || die | ||
30 | cd ${SRCDIR} | ||
31 | |||
32 | # use our cflags | ||
33 | sed -i "s:-O2:${CFLAGS}:g" src/Makefile.in || die | ||
34 | } | ||
35 | |||
36 | src_compile() | ||
37 | { | ||
38 | cd ${SRCDIR} | ||
39 | |||
40 | ./configure \ | ||
41 | --prefix=/usr \ | ||
42 | --mandir=/usr/share/man \ | ||
43 | --datadir=/usr/share \ | ||
44 | || die | ||
45 | |||
46 | mmake || die | ||
47 | } | ||
48 | |||
49 | src_install() | ||
50 | { | ||
51 | cd ${SRCDIR} | ||
52 | |||
53 | mmake DESTDIR=${BINDIR} \ | ||
54 | DATADIR=${BINDIR}/usr/share \ | ||
55 | MANDIR=${BINDIR}/usr/share/man \ | ||
56 | install || die | ||
57 | |||
58 | niro | 130 | minstalldir /bin || die |
59 | niro | 128 | mv ${BINDIR}/usr/bin/setfont ${BINDIR}/bin/ || die |
60 | mlink /bin/setfont /usr/bin/setfont || die | ||
61 | |||
62 | # docs | ||
63 | minstalldocs CHANGES COPYING CREDITS README || die | ||
64 | |||
65 | # html docs | ||
66 | minstallhtml doc/*.html || die | ||
67 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |