Magellan Linux

Contents of /smage/branches/branch_0.9.0/xtdesktop/xtdesktop-0.7b-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (show annotations) (download)
Sun Jan 11 00:50:17 2009 UTC (15 years, 4 months ago) by niro
File size: 1611 byte(s)
"copied"
1 # $Header: /alx-cvs/smage-eglibc/xtdesktop/xtdesktop-0.7b-r1.smage2,v 1.3 2008/08/29 10:41:06 niro Exp $
2
3 PNAME="xtdesktop"
4 PVER="0.7b"
5 PBUILD="r1"
6
7 PCATEGORIE="x11-misc"
8 STATE="unstable"
9
10 DESCRIPTION="XtDesk is X Window icon manager based on idesk."
11 HOMEPAGE="http://garuda.newmail.ru/xtdesk_e.dhtml"
12
13 DEPEND=">= x11-libs/libXaw-1
14 >= media-libs/imlib-1.9"
15
16 SDEPEND=">= sys-apps/sed-4"
17
18 SRCFILE="${PNAME}-${PVER}.tgz"
19 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20
21 sminclude mtools alx
22
23 SRC_URI=(
24 http://garuda.newmail.ru/${SRCFILE}
25 http://www.sourcefiles.org/Utilities/Desktops/${SRCFILE}
26 http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/AmigoProjects/Xusb-hotmount/pasture/usbwatch/0.1/${SRCFILE}
27 mirror://${PNAME}/${SRCFILE}
28 mirror://${PNAME}/${PNAME}-${PVER}-gcc4.patch
29 mirror://${PNAME}/${PNAME}-${PVER}-xorg.patch
30 mirror://${PNAME}/${PNAME}-${PVER}-disable-menu.patch
31 )
32
33 src_prepare()
34 {
35 munpack ${SRCFILE} || die
36 cd ${SRCDIR}
37
38 # fix compilation with gcc4
39 mpatch ${PNAME}-${PVER}-gcc4.patch || die
40
41 # get rid of X11R6
42 mpatch ${PNAME}-${PVER}-xorg.patch || die
43
44 # disable the context menu on alx
45 mpatch ${PNAME}-${PVER}-disable-menu.patch || die
46
47 # append our CFLAGS
48 sed -i "s:^\(CFLAGS.*=\).*:& ${CFLAGS}:" Makefile || die
49 }
50
51 src_compile()
52 {
53 cd ${SRCDIR}
54 mmake || die
55 }
56
57 src_install()
58 {
59 cd ${SRCDIR}
60 minstalldir /usr/bin || die
61 minstalldir /usr/share/${PNAME}-${PVER}/samples/xtdesktop || die
62
63 minstallexec xtdesk || die
64 minstallfile xtdeskrc /usr/share/${PNAME}-${PVER}/samples || die
65 minstallfile xtdesktop/\* /usr/share/${PNAME}-${PVER}/samples/xtdesktop || die
66 }

Properties

Name Value
svn:keywords Id