# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/xerces-c-2.4.0.ebuild,v 1.6 2004/07/02 04:57:24 eradicator Exp $ MY_P="epoll-lib-${PV}" S=${WORKDIR}/${MY_P} DESCRIPTION="/dev/epoll access library" SRC_URI="http://www.xmailserver.org/linux-patches/${MY_P}.tar.gz" HOMEPAGE="http://www.xmailserver.org/linux-patches/nio-improve.html" DEPEND="dev-libs/pcl sys-devel/pmake" RDEPEND="dev-libs/pcl" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc" IUSE="debug" src_compile() { use debug || export EPOLLCFG="release" make || die } src_install () { # We need to create the directories because the install # script doesn't do this mkdir -p ${D}/usr/include/sys mkdir -p ${D}/usr/lib mkdir -p ${D}/usr/man/man2 mkdir -p ${D}/usr/man/man4 make PREFIX=${D}/usr install || die }