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

EAPI="2"

EBZR_REVISION="154"
EBZR_REPO_URI="http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ltspfs-trunk"

inherit bzr autotools

DESCRIPTION="LTSP file system"
HOMEPAGE="http://www.ltsp.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~sparc x86"
IUSE="examples"
DEPEND=">=dev-libs/glib-2.6"
RDEPEND="${DEPEND} >=sys-fs/fuse-2.7.2
	x11-libs/libX11"

src_unpack() {
	bzr_src_unpack
	# FIXME: do we want to use bzr to generate a ChangeLog?
	# Create empty ChangeLog to please autoreconf
	touch ChangeLog
}

src_prepare() {
	eautoreconf
}

src_install() {
	emake DESTDIR="${D}" install || die "einstall failed"

	dodoc AUTHORS

	if use examples; then
		docinto examples
		dodoc doc/examples/*
	fi
}