Magellan Linux

Contents of /smage/trunk/core/kbd/kbd-1.15-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 383 - (show annotations) (download)
Tue May 4 23:57:32 2010 UTC (13 years, 11 months ago) by niro
File size: 1244 byte(s)
auto added: ver bump to 1.15-r2.smage2
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.15"
5 PBUILD="r2"
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 mcore
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].* | 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 minstalldir /bin || die
59 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