summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/ltspfs/ltspfs-1.1.ebuild')
-rw-r--r--sys-fs/ltspfs/ltspfs-1.1.ebuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/sys-fs/ltspfs/ltspfs-1.1.ebuild b/sys-fs/ltspfs/ltspfs-1.1.ebuild
index 2158faa..e5b1a95 100644
--- a/sys-fs/ltspfs/ltspfs-1.1.ebuild
+++ b/sys-fs/ltspfs/ltspfs-1.1.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="http://www.ltsp.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
-IUSE="examples"
+IUSE="client examples"
DEPEND=">=dev-libs/glib-2.6
>=sys-fs/fuse-2.7.2
x11-libs/libX11"
@@ -34,13 +34,15 @@ src_prepare() {
src_install() {
emake DESTDIR="${D}" install || die "einstall failed"
- # install extra init-ltsp.d files
- insinto /usr/share/ltsp/init-ltsp.d
- doins -r init-ltsp.d/*
-
- # temporary until it's present in upstream
- insinto /usr/share/ltsp/init-ltsp.d/Gentoo
- doins init-ltsp.d/common/*
+ if use client; then
+ # install extra init-ltsp.d files
+ insinto /usr/share/ltsp/init-ltsp.d
+ doins -r init-ltsp.d/*
+
+ # temporary until it's present in upstream
+ insinto /usr/share/ltsp/init-ltsp.d/Gentoo
+ doins init-ltsp.d/common/*
+ fi
dodoc AUTHORS