# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" EBZR_REVISION="158" 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 >=sys-fs/fuse-2.7.2 x11-libs/libX11" RDEPEND="${DEPEND}" 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" # 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/* dodoc AUTHORS if use examples; then docinto examples dodoc doc/examples/* fi }