diff options
author | Thomas Raschbacher <lordvan@gentoo.org> | 2003-04-25 05:30:24 +0000 |
---|---|---|
committer | Thomas Raschbacher <lordvan@gentoo.org> | 2003-04-25 05:30:24 +0000 |
commit | 6ff6bbb7f582a9b05848fe35c109f4e18582cb4c (patch) | |
tree | 477a6c273398e70f0520df8956d9c7f795894180 /net-print | |
parent | Fixed parallel make issue (diff) | |
download | gentoo-2-6ff6bbb7f582a9b05848fe35c109f4e18582cb4c.tar.gz gentoo-2-6ff6bbb7f582a9b05848fe35c109f4e18582cb4c.tar.bz2 gentoo-2-6ff6bbb7f582a9b05848fe35c109f4e18582cb4c.zip |
initial import (bug #11527 )
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/hpoj/files/digest-hpoj-0.90 | 1 | ||||
-rw-r--r-- | net-print/hpoj/hpoj-0.90.ebuild | 93 |
2 files changed, 94 insertions, 0 deletions
diff --git a/net-print/hpoj/files/digest-hpoj-0.90 b/net-print/hpoj/files/digest-hpoj-0.90 new file mode 100644 index 000000000000..c59058653efc --- /dev/null +++ b/net-print/hpoj/files/digest-hpoj-0.90 @@ -0,0 +1 @@ +MD5 dd76385c20bccabf6f5446b1004d8372 hpoj-0.90.tgz 492881 diff --git a/net-print/hpoj/hpoj-0.90.ebuild b/net-print/hpoj/hpoj-0.90.ebuild new file mode 100644 index 000000000000..098f2c35d4c2 --- /dev/null +++ b/net-print/hpoj/hpoj-0.90.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/hpoj/hpoj-0.90.ebuild,v 1.1 2003/04/25 05:30:24 lordvan Exp $ + +DESCRIPTION="HP OfficeJet Linux driver" +HOMEPAGE="http://hpoj.sourceforge.net/" +SRC_URI="mirror://sourceforge/hpoj/${P}.tgz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="ssl scanner qt X snmp cups" + +DEPEND="qt? ( >=x11-libs/qt-3.1.0-r1 ) + ssl? ( >=dev-libs/openssl-0.9.6h ) + scanner? ( >=media-gfx/sane-backends-1.0.9 ) + scanner? ( || ( >=media-gfx/xsane-0.89 >=media-gfx/sane-frontends-1.0.9 ) ) + snmp? ( >=net-analyzer/ucd-snmp-4.2.6 ) + cups? ( >=net-print/cups-1.1.18-r2 ) + >=net-print/hpijs-1.3.1" +RDEPEND="" + +S=${WORKDIR}/${P} + +src_compile() { + local myconf + use snmp \ + && myconf="${myconf} --with-snmp=/usr" \ + || myconf="${myconf} --without-snmp" + + use cups \ + && myconf="${myconf} --with-cups-backend=/usr" \ + || myconf="${myconf} --without-cups" + + # xojpanel + use qt \ + && myconf="${myconf} --with-qt=/usr/qt/3" \ + || myconf="${myconf} --without-qt" + + use scanner \ + && myconf="${myconf} --with-sane-packend=/usr" \ + || myconf="${myconf} --without-sane" + + econf ${myconf} +# patch -p0 ${S}/mlcd/Makefile < ${FILESDIR}/mlcd_make.patch +# patch -p0 ${S}/mlcd/ExMgr.cpp < ${FILESDIR}/ExMgr.cpp_patch + make || die "compilation failed" +} +## after cups +src_install() { + cd apps/cmdline + dobin ptal-print hpojip-test ptal-connect ptal-device ptal-devid ptal-hp ptal-pml + cd ../../doc + dohtml *html + cd .. + dodoc COPYING LICENSE LICENSE.OpenSSL README + dobin apps/xojpanel/xojpanel + insinto /usr/include + doins include/hpojip.h include/ptal.h + cd lib + dolib.so hpojip/libhpojip.so* + dolib.so ptal/libptal.so* + dodir /usr/lib/sane + insinto /usr/lib/sane + doins sane/libsane-hpoj.so* + dodir /usr/lib/ghostscript/filt \ + dosym \ + /usr/lib/ghostscript/filt/bjc600 \ + /usr/lib/ghostscript/filt/bjc600.1 \ + /usr/lib/ghostscript/filt/bjc600.16 \ + /usr/lib/ghostscript/filt/bjc600.24 \ + /usr/lib/ghostscript/filt/bjc600.24.3 \ + /usr/lib/ghostscript/filt/bjc600.32 \ + /usr/lib/ghostscript/filt/bjc600.8 \ + /usr/lib/ghostscript/filt/bjc600.8.1 \ + /usr/lib/ghostscript/filt/bjt600.32 \ + /usr/lib/ghostscript/filt/direct \ + /usr/lib/ghostscript/filt/gsif \ + /usr/lib/ghostscript/filt/indirect \ + /usr/lib/ghostscript/filt + cd .. + dosbin apps/cmdline/ptal-photod apps/cmdline/ptal-printd mlcd/ptal-mlcd scripts/ptal-cups + exeinto /etc/init.d + doexe scripts/ptal-init + dodir /usr/lib/cups/backend + dosym /usr/sbin/ptal-cups /usr/lib/cups/backend/ptal +} + +pkg_postinst() { + echo + einfo "You might want to emerge net-print/hpijs too for better quality" + einfo "or app-admin/mtools for photo-card support." + echo +}
\ No newline at end of file |