summaryrefslogtreecommitdiff
blob: 38b15fb03fca2f4f62d4ec3eb52f2ccd58afdf98 (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
# Copyright 1999-2008 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/"
	EBZR_BRANCH="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"
RDEPEND="${DEPEND} x11-themes/gtk-engines"

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
}