# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/seyon/seyon-2.20c.ebuild,v 1.8 2006/02/25 21:33:38 nelchael Exp $ inherit eutils DESCRIPTION="telecommunications package for X" HOMEPAGE="http://freshmeat.net/projects/seyon/" SRC_URI="mirror://debian/pool/main/s/seyon/${PN}_${PV}.orig.tar.gz" RESTRICT="nomirror" LICENSE="GPL-2" SLOT="0" KEYWORDS="~ppc x86" IUSE="" RDEPEND="|| ( ( app-text/rman x11-misc/imake x11-libs/libX11 x11-libs/libXmu x11-libs/libXt x11-libs/libXaw x11-libs/libXext x11-libs/libXpm x11-libs/libXp ) virtual/x11 )" DEPEND="${RDEPEND}" src_compile() { epatch ${FILESDIR}/${P}-compile-fix.patch #fixes pronlem with lockfiles #38264 epatch ${FILESDIR}/${P}-lock-file-fix.patch export PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin/" xmkmf || die "xmkmf failed" chmod 0750 makever.sh || die "could not set executable permissions to makever.sh" epatch ${FILESDIR}/${P}-makefile-patch.patch make || die } src_install() { make DESTDIR=${D} install || die make DESTDIR=${D} install.man } pkg_postinst() { mkdir /var/lock/uucp touch /var/lock/seyon_locks } DOCS="1-BUGREPORT 1-CHANGES 1-COPYING 1-FAQ 1-HISTORY 1-INSTALL 1-PORTING 1-README 1-SURVEY 1-TODO COPYING"