# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-shells/scsh/scsh-0.6.5.ebuild,v 1.3 2004/06/29 03:59:24 vapier Exp $ inherit eutils scsh DESCRIPTION="Unix shell embedded in Scheme" HOMEPAGE="http://www.scsh.net/" MV="${PV%*.*}" SRC_URI="ftp://ftp.scsh.net/pub/scsh/${MV}/${P}.tar.gz" LICENSE="as-is | BSD" SLOT="0" KEYWORDS="x86" DEPEND="" src_unpack() { # SCSH_LIB_DIRS='$SCSH_SCSH_PATH' set_layout_path_variables unpack ${A} cd ${S} if use fhs; then epatch ${FILESDIR}/Makefile.in-doc-dir.patch fi } src_compile() { scsh_conf="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include --with-lib-dirs-list=${SCSH_SCSH_PATH} " econf ${scsh_conf} || die emake || die } src_install() { make DESTDIR=${D} install || die }