summaryrefslogtreecommitdiff
blob: 048291fa92e5f97167b66fd80fbd454d5dbeb1c6 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

if [[ ${PV} == 9999* ]]
then
	[[ ${PV} == 9999.* ]] && EBZR_REVISION="${PV/9999./}"
	EBZR_REPO_URI="http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ldm-trunk"
	EBZR_BOOTSTRAP="autogen.sh"
	inherit bzr
else
	SRC_URI="mirror://gentoo/${P}.tar.bz2"
fi

DESCRIPTION="LTSP Display Manager"
HOMEPAGE="http://www.ltsp.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=dev-libs/glib-2.6
	>=x11-libs/gtk+-2.2
	app-text/iso-codes"
RDEPEND="${DEPEND} x11-themes/gtk-engines
	x11-apps/xdm
	x11-base/xorg-server"

src_unpack() {
	if [[ ${PV} == 9999* ]] ; then
		bzr_src_unpack
	else
		unpack ${P}.tar.bz2
	fi
}

src_install() {
	emake DESTDIR="${D}" install
    dosym ltsp /usr/share/ldm/themes/default
}