Magellan Linux

Annotation of /trunk/todo/gtkdps/gtkdps-0.3.4-r8.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2358 - (hide annotations) (download)
Thu Jul 9 19:43:20 2009 UTC (14 years, 11 months ago) by niro
File size: 1240 byte(s)
-moved to 'todo'
1 niro 2 # $Header: /magellan-cvs/smage/gtkdps/gtkdps-0.3.4-r8.smage2,v 1.1 2008/08/15 12:52:25 niro Exp $
2    
3     PNAME="gtkdps"
4     PVER="0.3.4"
5     PBUILD="r8"
6    
7     PCATEGORIE="x11-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="gtkDPS is the set of functions, objects, and widgets to use DPS easily with GTK."
11     HOMEPAGE="http://www.gyve.org/gtkDPS/"
12    
13     DEPEND=">= x11-libs/gtk1+-1.2.10
14     >= app-text/dgs-0.5"
15    
16     SDEPEND=">= sys-dev/gettext-0.17"
17    
18     SRCFILE="${PNAME/dps/DPS}-${PVER}.tar.gz"
19     SRCDIR="${BUILDDIR}/${PNAME/dps/DPS}-${PVER}"
20    
21     sminclude gnuconfig
22    
23     SRC_URI=(
24     ftp://ftp.gyve.org/pub/gtkDPS/${SRCFILE}
25     mirror://${PNAME}/${SRCFILE}
26     mirror://${PNAME}/${PNAME}-${PVER}-m4-underquoted.patch
27     )
28    
29     src_prepare()
30     {
31     munpack ${SRCFILE} || die
32     cd ${SRCDIR}
33    
34     # fixes m4 warnings
35     mpatch ${PNAME}-${PVER}-m4-underquoted.patch || die
36    
37     # fix CHOST for x86_64 and others
38     gnuconfig-update || die
39     }
40    
41     src_compile()
42     {
43     cd ${SRCDIR}
44    
45     mconfigure --with-x --with-dps || die
46    
47     # fix locales location
48     echo '#define LOCALEDIR "/usr/share/locale"' >> config.h || die
49    
50     # doesn't like optimations >= -j1
51     mmake -j1 || die
52     }
53    
54     src_install()
55     {
56     cd ${SRCDIR}
57    
58     make prefix=${BINDIR}/usr install || die
59     minstalldocs ABOUT-NLS COPYING* ChangeLog GTKDPS-VERSION \
60     HACKING NEWS README TODO || die
61     }

Properties

Name Value
svn:keywords Id