Contents of /smage/trunk/core/idesk/idesk-0.7.5-r4.smage2
Parent Directory | Revision Log
Revision 3873 -
(show annotations)
(download)
Mon Jul 23 08:50:57 2012 UTC (11 years, 10 months ago) by niro
File size: 1242 byte(s)
Mon Jul 23 08:50:57 2012 UTC (11 years, 10 months ago) by niro
File size: 1242 byte(s)
auto added: ver bump to 0.7.5-r4
1 | # $Id$ |
2 | |
3 | PNAME="idesk" |
4 | PVER="0.7.5" |
5 | PBUILD="r4" |
6 | |
7 | PCAT="x11-misc" |
8 | |
9 | DESCRIPTION="iDesk, a tool to provide desktop icons." |
10 | HOMEPAGE="http://idesk.sourceforge.net/" |
11 | |
12 | DEPEND=">= media-libs/imlib2-1.4 |
13 | >= media-libs/freetype-2.4 |
14 | >= media-libs/fontconfig-2.8 |
15 | >= dev-libs/expat-2 |
16 | >= x11-libs/libX11-1.4 |
17 | >= x11-libs/libXext-1.3 |
18 | >= x11-libs/libXft-2.2 |
19 | >= sys-libs/zlib-1.2.5" |
20 | |
21 | SDEPEND=">= dev-util/pkgconfig-0.25" |
22 | |
23 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
24 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
25 | |
26 | ALX_PKG_KEEP="usr/bin/idesk |
27 | usr/share/idesk/dot.ideskrc" |
28 | sminclude mbuild mtools alx-split |
29 | |
30 | SRC_URI=( |
31 | sourceforge://${PNAME}/${SRCFILE} |
32 | mirror://${PNAME}/${SRCFILE} |
33 | mirror://${PNAME}/${PNAME}-${PVER}-glibc-2.12.patch |
34 | ) |
35 | |
36 | src_prepare() |
37 | { |
38 | munpack ${SRCFILE} || die |
39 | cd ${SRCDIR} |
40 | |
41 | # fix build against newer glibc |
42 | mpatch ${PNAME}-${PVER}-glibc-2.12.patch || die |
43 | } |
44 | |
45 | alx_generic_src_install() |
46 | { |
47 | cd ${SRCDIR} |
48 | |
49 | minstallexec src/idesk || die |
50 | minstalldir /usr/share/idesk || die |
51 | minstallfile examples/\* /usr/share/idesk || die |
52 | minstalldocs AUTHORS COPYING ChangeLog NEWS README TODO || die |
53 | |
54 | echo -e ${COLGREEN}" injecting custom configs"${COLDEFAULT} |
55 | minstalldir /usr/share/idesk || die |
56 | mcinjectfile dot.ideskrc /usr/share/idesk/dot.ideskrc || die |
57 | } |