Magellan Linux

Contents of /trunk/deprecated/torsmo/torsmo-0.18-r6.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
File size: 1332 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/torsmo/torsmo-0.18-r6.smage2,v 1.2 2008/02/07 14:23:54 niro Exp $
2
3 PNAME="torsmo"
4 PVER="0.18"
5 PBUILD="r6"
6
7 PCATEGORIE="app-admin"
8 STATE="testing"
9
10 DESCRIPTION="torsmo is a system monitor that sits in the corner of your desktop."
11 HOMEPAGE="http://torsmo.sourceforge.net/"
12
13 DEPEND=">= virtual/glibc
14 >= x11-libs/libICE-1
15 >= x11-libs/libXext-1
16 >= x11-libs/libX11-1
17 >= x11-libs/libSM-1
18 >= x11-libs/libXrender-0.9
19 >= x11-libs/libXdamage-1
20 >= x11-libs/libXft-1
21 >= media-libs/freetype-2"
22
23 SDEPEND=">= sys-dev/autoconf-2.59
24 >= sys-dev/automake-1.9.3
25 >= x11-libs/libXt-1
26 >= x11-proto/xextproto-1
27 >= x11-proto/xproto-1"
28
29 SRCFILE="${PNAME}-${PVER}.tar.gz"
30 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
31
32 SRC_URI=(
33 sourceforge://${PNAME}/${SRCFILE}
34 mirror://${PNAME}/${SRCFILE}
35 mirror://${PNAME}/${PNAME}-${PVER}.noswap.patch
36 )
37
38 src_prepare()
39 {
40 munpack ${SRCFILE} || die
41 cd ${SRCDIR}
42
43 # fixes some issues when no swap is available
44 # see http://sourceforge.net/tracker/index.php?func=detail&aid=1153280&group_id=108594&atid=650931
45 mpatch ${PNAME}-${PVER}.noswap.patch || die
46 }
47
48 src_compile()
49 {
50 cd ${SRCDIR}
51
52 mconfigure --enable-xft || die
53 mmake || die
54 }
55
56 src_install()
57 {
58 cd ${SRCDIR}
59 make DESTDIR=${BINDIR} install || die
60 minstalldocs AUTHORS COPYING ChangeLog NEWS README torsmorc.sample || die
61 }

Properties

Name Value
svn:keywords Id