Contents of /trunk/extras/fox/fox-1.6.32-r1.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1618 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1618 byte(s)
import repo
1 | # $Header: /magellan-cvs/smage/fox/fox-1.6.32-r1.smage2,v 1.1 2008/04/05 09:04:56 niro Exp $ |
2 | |
3 | PNAME="fox" |
4 | PVER="1.6.32" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="x11-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="FOX is a C++ based Toolkit for developing Graphical User Interfaces easily and effectively." |
11 | HOMEPAGE="http://www.fox-toolkit.org/" |
12 | |
13 | DEPEND=">= virtual/opengl |
14 | >= x11-libs/libXrandr-1 |
15 | >= x11-libs/libXcursor-1 |
16 | >= x11-libs/libXft-2.1 |
17 | >= app-arch/bzip2-1 |
18 | >= sys-libs/zlib-1.2 |
19 | >= media-libs/libjpeg-6b |
20 | >= media-libs/libpng-1.2 |
21 | >= media-libs/libtiff-3.8 |
22 | >= media-libs/freetype-2.3" |
23 | |
24 | SDEPEND=">= x11-proto/xextproto-7 |
25 | >= x11-libs/libXt-1" |
26 | |
27 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
28 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
29 | |
30 | sminclude mbuild |
31 | |
32 | SRC_URI=( |
33 | http://www.fox-toolkit.org/ftp/${SRCFILE} |
34 | mirror://${PNAME}/${SRCFILE} |
35 | ) |
36 | |
37 | src_compile() |
38 | { |
39 | cd ${SRCDIR} |
40 | |
41 | # mconfigure installs libfox to /usr/lib/fox-${PVER} |
42 | # some programs will not find it correctly, |
43 | # so we use a plain ./configure |
44 | ./configure \ |
45 | --host=${CHOST} \ |
46 | --prefix=/usr \ |
47 | --mandir=/usr/share/man \ |
48 | --libdir=/usr/$(mlibdir) \ |
49 | --disable-debug \ |
50 | --enable-threadsafe \ |
51 | --with-xft \ |
52 | --with-opengl \ |
53 | --disable-cups \ |
54 | --enable-bz2lib \ |
55 | --enable-jpeg \ |
56 | --enable-png \ |
57 | --enable-tiff \ |
58 | --enable-zlib \ |
59 | || die |
60 | |
61 | mmake || die |
62 | } |
63 | |
64 | src_install() |
65 | { |
66 | cd ${SRCDIR} |
67 | |
68 | make DESTDIR=${BINDIR} \ |
69 | htmldir=/usr/share/doc/${PNAME}-${PVER}/html \ |
70 | artdir=/usr/share/doc/${PNAME}-${PVER}/html/art \ |
71 | screenshotsdir=/usr/share/doc/${PNAME}-${PVER}/html/screenshots \ |
72 | install || die |
73 | |
74 | minstalldocs ADDITIONS AUTHORS LICENSE LICENSE_ADDENDUM README TRACING || die |
75 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |