Magellan Linux

Contents of /smage/trunk/extras/idesk/idesk-0.7.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1712 - (show annotations) (download)
Fri Apr 8 11:48:03 2011 UTC (13 years ago) by niro
File size: 1235 byte(s)
auto added: ver bump to 0.7.5-r1
1 # $Id$
2
3 PNAME="idesk"
4 PVER="0.7.5"
5 PBUILD="r1"
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 >= dev-libs/libxml2-2.7
16 >= dev-libs/glib2-2.28
17 >= x11-libs/gtk2+-2.24
18 >= x11-libs/pango-1.28
19 >= gnome-extra/libgsf-1.14
20 >= media-libs/libart_lgpl-2.3.21
21 >= x11-libs/startup-notification-0.10"
22
23 SDEPEND=">= dev-util/pkgconfig-0.25"
24
25 SRCFILE="${PNAME}-${PVER}.tar.bz2"
26 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
27
28 sminclude mtools
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 src_compile()
46 {
47 cd ${SRCDIR}
48 mconfigure --enable-libsn || die
49 mmake || die
50 }
51
52 src_install()
53 {
54 cd ${SRCDIR}
55
56 # needed directories
57 minstalldir /usr/bin || die
58 minstalldir /usr/share/idesk || die
59
60 # the makefile like always suckz ...
61 minstallexec src/idesk || die
62 minstallfile examples/\* /usr/share/idesk || die
63 minstalldocs AUTHORS COPYING ChangeLog NEWS README TODO || die
64 }