diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2003-08-25 09:29:24 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2003-08-25 09:29:24 +0000 |
commit | 5d32829407a098e28c9487f2610eee77336e7f5e (patch) | |
tree | 46da7518dc7c694cfb8cc75cd90f86f6f2c664f7 /media-gfx/plustek-parallel | |
parent | renaming sane-plustek to plustek-parallel (diff) | |
download | gentoo-2-5d32829407a098e28c9487f2610eee77336e7f5e.tar.gz gentoo-2-5d32829407a098e28c9487f2610eee77336e7f5e.tar.bz2 gentoo-2-5d32829407a098e28c9487f2610eee77336e7f5e.zip |
renaming sane-plustek to plustek-parallel
Diffstat (limited to 'media-gfx/plustek-parallel')
-rw-r--r-- | media-gfx/plustek-parallel/ChangeLog | 16 | ||||
-rw-r--r-- | media-gfx/plustek-parallel/Manifest | 8 | ||||
-rw-r--r-- | media-gfx/plustek-parallel/files/digest-plustek-parallel-0.42.9 | 1 | ||||
-rw-r--r-- | media-gfx/plustek-parallel/files/plustek-parallel-0.42.9.patch | 14 | ||||
-rw-r--r-- | media-gfx/plustek-parallel/metadata.xml | 9 | ||||
-rw-r--r-- | media-gfx/plustek-parallel/plustek-parallel-0.42.9.ebuild | 45 |
6 files changed, 89 insertions, 4 deletions
diff --git a/media-gfx/plustek-parallel/ChangeLog b/media-gfx/plustek-parallel/ChangeLog new file mode 100644 index 000000000000..4933ede00137 --- /dev/null +++ b/media-gfx/plustek-parallel/ChangeLog @@ -0,0 +1,16 @@ +# ChangeLog for media-gfx/sane-plustek +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/plustek-parallel/ChangeLog,v 1.1 2003/08/25 09:29:14 phosphan Exp $ + +*plustek-parallel-0.42.9 (25 Aug 2003) + + 25 Aug 2003; Patrick Kursawe <phosphan@gentoo.org> + Renamed to plustek-parallel. + +*sane-plustek-0.42.9 (18 Aug 2003) + + 18 Aug 2003; Patrick Kursawe <phosphan@gentoo.org> + sane-plustek-0.42.9.ebuild, files/sane-plustek-0.42.9.patch: + Initial import, ebuild submitted in bug 26083 by Michal 'Spock' Januszewski + <spock@o2.pl>. + diff --git a/media-gfx/plustek-parallel/Manifest b/media-gfx/plustek-parallel/Manifest index 8d725f7a58ab..3e849230d5e9 100644 --- a/media-gfx/plustek-parallel/Manifest +++ b/media-gfx/plustek-parallel/Manifest @@ -1,5 +1,5 @@ -MD5 d984f4401dfaac6f58962dae6b0bbf70 sane-plustek-0.42.9.ebuild 1582 -MD5 f4cd9d37868227d29ee8b9bf18a331c9 ChangeLog 476 +MD5 ed4219347ee9d28453628a7f09f38cb0 ChangeLog 605 MD5 ce65434687722b486889c015f1bf674d metadata.xml 301 -MD5 9935e8e37e6e0dd8e4e4f370957d0702 files/sane-plustek-0.42.9.patch 444 -MD5 39c5e1f091395fecb60fc5f4014a1c5e files/digest-sane-plustek-0.42.9 73 +MD5 facd8174ae03275c3370e5f06858256b plustek-parallel-0.42.9.ebuild 1617 +MD5 9935e8e37e6e0dd8e4e4f370957d0702 files/plustek-parallel-0.42.9.patch 444 +MD5 39c5e1f091395fecb60fc5f4014a1c5e files/digest-plustek-parallel-0.42.9 73 diff --git a/media-gfx/plustek-parallel/files/digest-plustek-parallel-0.42.9 b/media-gfx/plustek-parallel/files/digest-plustek-parallel-0.42.9 new file mode 100644 index 000000000000..d579afe09c93 --- /dev/null +++ b/media-gfx/plustek-parallel/files/digest-plustek-parallel-0.42.9 @@ -0,0 +1 @@ +MD5 2ae051c2f646ed1912d7172b9a34493d plustek-module-0_42_9.tar.gz 171906 diff --git a/media-gfx/plustek-parallel/files/plustek-parallel-0.42.9.patch b/media-gfx/plustek-parallel/files/plustek-parallel-0.42.9.patch new file mode 100644 index 000000000000..dfe2c2e842bf --- /dev/null +++ b/media-gfx/plustek-parallel/files/plustek-parallel-0.42.9.patch @@ -0,0 +1,14 @@ +--- Makefile.orig 2001-12-02 14:11:19.000000000 +0100 ++++ Makefile 2003-08-06 22:13:43.000000000 +0200 +@@ -182,9 +182,8 @@ + # copy the driver to the modules directory + # + install: +- mkdir -p /lib/modules/$(LINUXVERSION)/misc +- install -c -m $(mode) $(TARGET).o /lib/modules/$(LINUXVERSION)/misc +- /sbin/depmod -a ++ mkdir -p $(D)/lib/modules/$(LINUXVERSION)/misc ++ install -c -m $(mode) $(TARGET).o $(D)/lib/modules/$(LINUXVERSION)/misc + + # + # diff --git a/media-gfx/plustek-parallel/metadata.xml b/media-gfx/plustek-parallel/metadata.xml new file mode 100644 index 000000000000..31889616035e --- /dev/null +++ b/media-gfx/plustek-parallel/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>phosphan@gentoo.org</email> +<description>Committed on user request, not using any scanner.</description> +</maintainer> +</pkgmetadata> diff --git a/media-gfx/plustek-parallel/plustek-parallel-0.42.9.ebuild b/media-gfx/plustek-parallel/plustek-parallel-0.42.9.ebuild new file mode 100644 index 000000000000..c55a2394888a --- /dev/null +++ b/media-gfx/plustek-parallel/plustek-parallel-0.42.9.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/plustek-parallel/plustek-parallel-0.42.9.ebuild,v 1.1 2003/08/25 09:29:14 phosphan Exp $ + +IUSE="" + +inherit eutils + +DESCRIPTION="Scanner Access Now Easy - Plustek module for parallel port scanners" +HOMEPAGE="http://www.gjaeger.de/scanner/plustek.html" +DEPEND="virtual/kernel + >=media-gfx/sane-backends-1.0.8" +SRC_URI="http://www.gjaeger.de/scanner/current/plustek-module-0_42_9.tar.gz" +S="${WORKDIR}/plustek_driver" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" + +src_compile() { + epatch ${FILESDIR}/${P}.patch + make all || die +} + +src_install () { + make install || die + mkdir -p ${D}etc/modules.d + cat >${D}etc/modules.d/pt_drv <<END +alias char-major-40 pt_drv +options pt_drv port=0x378 forceMode=0 lOffonEnd=1 mov=0 warmup=15 slowIO=0 lampoff=180 +END +} + +pkg_postinst () { + # this is necessary for most programs to be able to use the scanner + ln -s /dev/scanner/pt_drv0 /dev/pt_drv + + einfo Some default configuration values have been written to /etc/modules.d/pt_drv + einfo Make sure you check them before actually using your scanner. + einfo You can get more info about them in: man sane-plustek. + einfo NOTE: Remember to use modules-update after checking your configuration. + einfo + einfo If you want this module to be loaded automatically at system boot, + einfo add 'pt_drv' to /etc/modules.autoload.d/kernel-$(uname -r | sed 's/\([0-9].[0-9]\).*/\1/') +} + |