diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2003-08-08 19:19:51 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2003-08-08 19:19:51 +0000 |
commit | e1edc104df4eb32914347e956cc8485f794650e9 (patch) | |
tree | ae84494a723cad51a3df262dabdb54b3d5b73a3c /net-print/mtink | |
parent | initial release (diff) | |
download | historical-e1edc104df4eb32914347e956cc8485f794650e9.tar.gz historical-e1edc104df4eb32914347e956cc8485f794650e9.tar.bz2 historical-e1edc104df4eb32914347e956cc8485f794650e9.zip |
initial release
Diffstat (limited to 'net-print/mtink')
-rw-r--r-- | net-print/mtink/Manifest | 7 | ||||
-rw-r--r-- | net-print/mtink/files/digest-mtink-0.9.55 | 1 | ||||
-rw-r--r-- | net-print/mtink/files/mtinkd.confd | 15 | ||||
-rw-r--r-- | net-print/mtink/files/mtinkd.rc | 20 | ||||
-rw-r--r-- | net-print/mtink/mtink-0.9.55.ebuild | 59 |
5 files changed, 99 insertions, 3 deletions
diff --git a/net-print/mtink/Manifest b/net-print/mtink/Manifest index 831569d6c150..226431f12c1f 100644 --- a/net-print/mtink/Manifest +++ b/net-print/mtink/Manifest @@ -1,4 +1,5 @@ -MD5 21aaafac4cdd7132146b6afba7f3d4ec mtink-0.9.55.ebuild 1230 -MD5 6ad02a6f13fe4cf6465067819ea603a5 files/mtinkd.rc 429 -MD5 009b793f79082e258e5dffbefb4c45f8 files/mtinkd.confd 414 +MD5 0126deedb48bb68560f4cbe07f798a09 mtink-0.9.55.ebuild 1360 +MD5 7419e0ca5dd4f2d07c419067ee906fd2 ChangeLog 346 +MD5 8423fb1ca2090ec4069b5a0ecb696183 files/mtinkd.rc 456 +MD5 d634fcba2aac9dc7626141e6ff68e538 files/mtinkd.confd 511 MD5 6e4f37da8ada0ed3ec7b695aba334737 files/digest-mtink-0.9.55 64 diff --git a/net-print/mtink/files/digest-mtink-0.9.55 b/net-print/mtink/files/digest-mtink-0.9.55 new file mode 100644 index 000000000000..69e04474f1d2 --- /dev/null +++ b/net-print/mtink/files/digest-mtink-0.9.55 @@ -0,0 +1 @@ +MD5 cbb586cffea75a55d9cace89bc5bde0c mtink-0.9.55.tar.gz 840648 diff --git a/net-print/mtink/files/mtinkd.confd b/net-print/mtink/files/mtinkd.confd new file mode 100644 index 000000000000..e6f1a554b7d4 --- /dev/null +++ b/net-print/mtink/files/mtinkd.confd @@ -0,0 +1,15 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-print/mtink/files/mtinkd.confd,v 1.1 2003/08/08 19:19:43 lanius Exp $ + +# define the device file, adapt this +#DEV_FILE=/dev/lp0 +DEV_FILE=/dev/usb/lp0 + +# Special options, adapt this +# add name of printer +NAME= + +# use the first line for USB printers, the second for parallel port printers +SPEC="-name $NAME -usbbase /dev/usb/lp" +#SPEC="-name $NAME" diff --git a/net-print/mtink/files/mtinkd.rc b/net-print/mtink/files/mtinkd.rc new file mode 100644 index 000000000000..6c3b66f4bf58 --- /dev/null +++ b/net-print/mtink/files/mtinkd.rc @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-print/mtink/files/mtinkd.rc,v 1.1 2003/08/08 19:19:43 lanius Exp $ + +depend() { + use cups +} + +start() { + ebegin "Starting mtinkd" + /usr/sbin/mtinkd start ${DEV_FILE} ${SPEC} + eend $? +} + +stop() { + ebegin "Stopping mtinkd" + /usr/sbin/mtinkd stop ${DEV_FILE} ${SPEC} + eend $? +} diff --git a/net-print/mtink/mtink-0.9.55.ebuild b/net-print/mtink/mtink-0.9.55.ebuild new file mode 100644 index 000000000000..0be530cf6448 --- /dev/null +++ b/net-print/mtink/mtink-0.9.55.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/mtink/mtink-0.9.55.ebuild,v 1.1 2003/08/08 19:19:43 lanius Exp $ + +DESCRIPTION="mtink is a status monitor and inkjet cartridge changer for some Epson printers" +HOMEPAGE="http://xwtools.automatix.de/" +SRC_URI="http://xwtools.automatix.de/files/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc cups" + +DEPEND="virtual/motif + x11-base/xfree + cups? ( net-print/cups )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/mtink" + +src_unpack() { + unpack ${A} +} + +src_compile() { + cp -f Makefile.ORG Makefile + make || die "Compile problem" +} + +src_install() { + exeinto /usr/bin + doexe mtinkc mtink ttink detect/askPrinter + + exeinto /usr/sbin + doexe mtinkd + + exeinto /etc/init.d + newexe ${FILESDIR}/mtinkd.rc mtinkd + + insinto /etc/conf.d + newins ${FILESDIR}/mtinkd.confd mtinkd + + use cups && \ + exeinto /usr/lib/cups/backend; \ + doexe etc/mtink-cups + + dodoc README CHANGE.LOG LICENCE + use doc && { + dohtml html/*.gif html/*.html + } +} + +pkg_postinst() { + einfo + einfo "mtink needs correct permissions to access printer device." + einfo "To do this you either need to run the following chmod command:" + einfo "chmod 666 /dev/<device>" + einfo "or set the suid bit on mtink, mtinkc and ttink in /usr/bin" + einfo +} |