View | Details | Raw Unified
Collapse All | Expand All

(-) sqsh-2.1.3.ebuild (-8 / +11 lines)
 Lines 19-44    Link Here 
	motif? ( x11-libs/openmotif )
	motif? ( x11-libs/openmotif )
	virtual/libc"
	virtual/libc"
src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/sqsh-2.1.3-makefile.in.patch
	epatch ${FILESDIR}/sqsh-2.1.3-configure-motif.patch
}
src_compile() {
src_compile() {
	export SYBASE=/usr
	export SYBASE=/usr
	local myconf
	local myconf
	use motif && myconf="--with-motif"
	econf \
	econf \
		$(use_with motif) \
		$(use_with readline) \
		$(use_with readline) \
		$(use_with X x) \
		$(use_with X x) \
		${myconf} || die
		${myconf} || die
	emake \
	emake || die
		SQSHRC_GLOBAL=/etc/sqshrc || die
}
}
src_install () {
src_install () {
	einstall \
	make DESTDIR=${D} install || die
		SQSHRC_GLOBAL=${D}/etc/sqshrc || die
	make DESTDIR=${D} install.man || die
	make man_dir=${D}/usr/share/man install.man || die
	dodoc INSTALL README doc/*
	dodoc INSTALL README doc/*
}
}