# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="A simple yet handy program for accessing the output pins of the parallel port." HOMEPAGE="${PN}.sf.net" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 " DEPEND="sys-libs/glibc" IUSE="ssl" src_compile() { local myconf use ssl && myconf='--enable-ssl=yes' use ssl || sed -i 's,\(#include \),//\1,g' src/pport.c || die econf ${myconf} || die emake || die } src_install() { dobin pport || die dodoc AUTHORS ChangeLog COPYING FAQ INSTALL NEWS THANKS doc/* }