Contents of /smage/branches/alx-0_6_0/core/idesk/idesk-0.7.5-r2.smage2
Parent Directory | Revision Log
Revision 2467 -
(show annotations)
(download)
Mon Jun 27 14:07:29 2011 UTC (12 years, 10 months ago) by niro
File size: 1415 byte(s)
Mon Jun 27 14:07:29 2011 UTC (12 years, 10 months ago) by niro
File size: 1415 byte(s)
-use light-blue white as fontcolor matching new carp theme
1 | # $Id$ |
2 | |
3 | PNAME="idesk" |
4 | PVER="0.7.5" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="x11-misc" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="iDesk, a tool to provide desktop icons." |
11 | HOMEPAGE="http://idesk.sourceforge.net/" |
12 | |
13 | DEPEND=">= media-libs/imlib2-1.4 |
14 | >= media-libs/freetype-2.4 |
15 | >= media-libs/fontconfig-2.8 |
16 | >= dev-libs/expat-2 |
17 | >= x11-libs/libX11-1.4 |
18 | >= x11-libs/libXext-1.3 |
19 | >= x11-libs/libXft-2.2 |
20 | >= sys-libs/zlib-1.2.5" |
21 | |
22 | SDEPEND=">= dev-util/pkgconfig-0.25" |
23 | |
24 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
25 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
26 | |
27 | ALX_ONLY_KEEP="usr/bin/idesk |
28 | usr/share/idesk/dot.ideskrc" |
29 | sminclude mtools alx-split |
30 | |
31 | SRC_URI=( |
32 | sourceforge://${PNAME}/${SRCFILE} |
33 | mirror://${PNAME}/${SRCFILE} |
34 | mirror://${PNAME}/${PNAME}-${PVER}-glibc-2.12.patch |
35 | ) |
36 | |
37 | src_prepare() |
38 | { |
39 | munpack ${SRCFILE} || die |
40 | cd ${SRCDIR} |
41 | |
42 | # fix build against newer glibc |
43 | mpatch ${PNAME}-${PVER}-glibc-2.12.patch || die |
44 | } |
45 | |
46 | src_compile() |
47 | { |
48 | cd ${SRCDIR} |
49 | mconfigure || die |
50 | mmake || die |
51 | } |
52 | |
53 | alx_generic_src_install() |
54 | { |
55 | cd ${SRCDIR} |
56 | |
57 | # needed directories |
58 | minstalldir /usr/bin || die |
59 | minstalldir /usr/share/idesk || die |
60 | |
61 | # the makefile like always suckz ... |
62 | minstallexec src/idesk || die |
63 | minstallfile examples/\* /usr/share/idesk || die |
64 | minstalldocs AUTHORS COPYING ChangeLog NEWS README TODO || die |
65 | |
66 | echo -e ${COLGREEN}" injecting custom configs"${COLDEFAULT} |
67 | minstalldir /usr/share/idesk || die |
68 | mcinjectfile dot.ideskrc /usr/share/idesk/dot.ideskrc || die |
69 | } |