Magellan Linux

Annotation of /branches/R11-stable/extras/fltk/fltk-1.3.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 16673 - (hide annotations) (download)
Tue Feb 19 09:43:01 2013 UTC (11 years, 4 months ago) by niro
Original Path: trunk/extras/fltk/fltk-1.3.2-r1.smage2
File size: 1587 byte(s)
-only run autoconf
1 niro 16672 # $Id$
2    
3     PNAME="fltk"
4     PVER="1.3.2"
5     PBUILD="r1"
6    
7     PCAT="x11-libs"
8    
9     DESCRIPTION="C++ user interface toolkit for X and OpenGL."
10     HOMEPAGE="http://www.fltk.org/"
11    
12     SRCFILE="${PNAME}-${PVER}-source.tar.gz"
13     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
14    
15     DEPEND=">= sys-libs/libstdc++-4.7
16     >= sys-libs/zlib-1.2
17     >= media-libs/glu-9
18     >= media-libs/fontconfig-2.10
19     >= media-libs/libjpeg-8d
20     >= media-libs/libpng-1.5
21     >= x11-libs/cairo-1.12
22     >= x11-libs/libX11-1.5
23     >= x11-libs/libXext-1.3
24     >= x11-libs/libXft-2.3
25     >= x11-libs/libXinerama-1.1
26     >= x11-libs/pixman-0.28"
27    
28     SDEPEND=">= media-libs/alsa-lib-1.0.26
29     >= x11-proto/xextproto-7.2
30     >= x11-proto/xineramaproto-1.2"
31    
32     sminclude mbuild
33    
34     SRC_URI=(
35     http://ftp.easysw.com/pub/${PNAME}/${PVER}/${SRCFILE}
36     mirror://${PNAME}/${SRCFILE}
37     mirror://${PNAME}/${PNAME}-${PVER}-as-needed.patch
38     mirror://${PNAME}/${PNAME}-${PVER}-conf-tests.patch
39     )
40    
41     UP2DATE="updatecmd ${HOMEPAGE} | grep 'Stable Release' | sed 's:.*v\(.*\):\1:'"
42    
43     src_prepare()
44     {
45     munpack ${SRCFILE} || die
46     cd ${SRCDIR}
47    
48     # fix linking issues with as-needed (cairo not linked in)
49     mpatch ${PNAME}-${PVER}-as-needed.patch || die
50    
51     # enable make check and remove tests and documentation from install target
52     mpatch ${PNAME}-${PVER}-conf-tests.patch || die
53    
54 niro 16673 autoconf --force || die
55 niro 16672 }
56    
57     src_compile()
58     {
59     cd ${SRCDIR}
60    
61     mconfigure \
62     --disable-debug \
63     --disable-localjpeg \
64     --disable-localpng \
65     --disable-localzlib \
66     --enable-largefile \
67     --enable-threads \
68     --enable-xft \
69     --enable-xdbe \
70     --enable-cairo \
71     --enable-gl \
72     --enable-xft \
73     --enable-xinerama \
74     || die
75    
76     mmake || die
77     }