summaryrefslogtreecommitdiff
blob: bac53e003842ff3170d86202286dd3f0c96a4d2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/xpde/xpde-0.5.1.ebuild,v 1.2 2004/10/09 19:44:43 usata Exp $

inherit eutils

DESCRIPTION="A Desktop Environment modelled after the O/S from Redmond, WA"
HOMEPAGE="http://www.xpde.com"
SRC_URI="http://www.xpde.com/releases/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* x86"
IUSE=""

DEPEND="virtual/x11"
S=${WORKDIR}/${PN}

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/${P}-gentoo.diff
}

src_compile() {
	einfo
	einfo "This is a binary-only package (sadly)"
	einfo "No files to compile."
	einfo
}

src_install() {
	cd ${S}/bin

	dodir /opt/xpde/bin/applets

	dodir /opt/xpde/share
	cp -a defaultdesktop ${D}/opt/xpde/share

	exeinto /opt/xpde/bin
	doexe *.so* startxpde xpde

	exeinto /opt/xpde/bin/applets
	doexe applets/desktop_properties

	exeinto /etc/X11/Sessions
	newexe startxpde ${P}
}