Contents of /trunk/core/kbd/kbd-1.14.1-r1.smage2
Parent Directory
|
Revision Log
Revision 128 -
(show annotations)
(download)
Tue Oct 14 12:06:55 2008 UTC (15 years, 8 months ago) by niro
File size: 1425 byte(s)
Tue Oct 14 12:06:55 2008 UTC (15 years, 8 months ago) by niro
File size: 1425 byte(s)
-rev bump to 5.10.0-r2; rebuild against new toolchain
1 | # $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 | mirror://${PNAME}/${PNAME}-1.12-cz-qwerty-map.patch |
24 | ) |
25 | |
26 | UP2DATE="updatecmd ftp://ftp.altlinux.org/pub/people/legion/kbd | grep ${PNAME}-[0-9].* | sort | lasttarball gz" |
27 | |
28 | src_prepare() |
29 | { |
30 | munpack ${SRCFILE} || die |
31 | cd ${SRCDIR} |
32 | |
33 | # use our cflags |
34 | sed -i "s:-O2:${CFLAGS}:g" src/Makefile.in || die |
35 | |
36 | # provide both a QWERTZ and a QWERTY cz keymap |
37 | cp data/keymaps/i386/{qwerty,qwertz}/cz.map || die |
38 | mpatch ${PNAME}-1.12-cz-qwerty-map.patch || die |
39 | } |
40 | |
41 | src_compile() |
42 | { |
43 | cd ${SRCDIR} |
44 | |
45 | ./configure \ |
46 | --prefix=/usr \ |
47 | --mandir=/usr/share/man \ |
48 | --datadir=/usr/share \ |
49 | || die |
50 | |
51 | mmake || die |
52 | } |
53 | |
54 | src_install() |
55 | { |
56 | cd ${SRCDIR} |
57 | |
58 | mmake DESTDIR=${BINDIR} \ |
59 | DATADIR=${BINDIR}/usr/share \ |
60 | MANDIR=${BINDIR}/usr/share/man \ |
61 | install || die |
62 | |
63 | mv ${BINDIR}/usr/bin/setfont ${BINDIR}/bin/ || die |
64 | mlink /bin/setfont /usr/bin/setfont || die |
65 | |
66 | # docs |
67 | minstalldocs CHANGES COPYING CREDITS README || die |
68 | |
69 | # html docs |
70 | minstallhtml doc/*.html || die |
71 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |