summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-print/mtink/ChangeLog8
-rw-r--r--net-print/mtink/Manifest18
-rw-r--r--net-print/mtink/files/digest-mtink-1.0.91
-rw-r--r--net-print/mtink/mtink-1.0.9.ebuild62
4 files changed, 75 insertions, 14 deletions
diff --git a/net-print/mtink/ChangeLog b/net-print/mtink/ChangeLog
index c225462d7ea0..0cf41644113c 100644
--- a/net-print/mtink/ChangeLog
+++ b/net-print/mtink/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-print/mtink
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/mtink/ChangeLog,v 1.14 2005/05/04 05:45:18 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/mtink/ChangeLog,v 1.15 2005/08/09 01:39:49 metalgod Exp $
+
+*mtink-1.0.9 (09 Aug 2005)
+
+ 09 Aug 2005; Luis Medinas <metalgod@gentoo.org> +mtink-1.0.9.ebuild:
+ Version Bump. Added X USE flag thanks to JeR <jer@xs4all.nl> closes bug
+ #99964 .
*mtink-1.0.8 (04 May 2005)
diff --git a/net-print/mtink/Manifest b/net-print/mtink/Manifest
index e0a752496ec4..460b70c65bed 100644
--- a/net-print/mtink/Manifest
+++ b/net-print/mtink/Manifest
@@ -1,18 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 80e7e2c3799de123ddd5d99f03472600 mtink-1.0.8.ebuild 1319
MD5 4019aa178ab976e42910edef9e8a098d ChangeLog 1760
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
MD5 64ee877aedee0030ecffcededcabb723 mtink-1.0.5.ebuild 1318
-MD5 3d7d657325f8c614eab923174f39d213 files/mtinkd.confd 494
-MD5 3d70b9a7f2797c53b2514593ca34d634 files/mtinkd.rc 439
+MD5 80e7e2c3799de123ddd5d99f03472600 mtink-1.0.8.ebuild 1319
+MD5 fbe084d7adbea6849eaee8eea7c023c7 mtink-1.0.9.ebuild 1439
MD5 6bf7b30c283a992ce56095736e46c764 files/digest-mtink-1.0.5 63
MD5 99447a47f4ae7ca9d7e5dbf13747af12 files/digest-mtink-1.0.8 63
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCeGI/evY57Fted3ERArXbAJ9SUoO6fjs+ylMU4sYe87jVKuAxkACgsUA3
-TFub1l283qxL+1VQLulf4GY=
-=v5FF
------END PGP SIGNATURE-----
+MD5 3d7d657325f8c614eab923174f39d213 files/mtinkd.confd 494
+MD5 3d70b9a7f2797c53b2514593ca34d634 files/mtinkd.rc 439
+MD5 651ef751bcc8d6f211743e77dc6ed352 files/digest-mtink-1.0.9 63
diff --git a/net-print/mtink/files/digest-mtink-1.0.9 b/net-print/mtink/files/digest-mtink-1.0.9
new file mode 100644
index 000000000000..f1a9c6fef9dd
--- /dev/null
+++ b/net-print/mtink/files/digest-mtink-1.0.9
@@ -0,0 +1 @@
+MD5 5fbb077e3fd3a41e6767d2c8f2dc92c3 mtink-1.0.9.tar.gz 902275
diff --git a/net-print/mtink/mtink-1.0.9.ebuild b/net-print/mtink/mtink-1.0.9.ebuild
new file mode 100644
index 000000000000..db02ca59c5c1
--- /dev/null
+++ b/net-print/mtink/mtink-1.0.9.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/mtink/mtink-1.0.9.ebuild,v 1.1 2005/08/09 01:39:49 metalgod 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 ~amd64"
+IUSE="cups doc X"
+
+DEPEND="X? ( x11-libs/openmotif virtual/x11 )
+ cups? ( net-print/cups )"
+
+inherit eutils
+
+src_compile() {
+ local mytargets
+ mytargets="ttink detect/askPrinter mtinkd"
+ if use X;
+ then
+ mytargets="${mytargets} mtink mtinkc";
+ fi
+ make ${mytargets} || die "Compile problem"
+}
+
+src_install() {
+ exeinto /usr/bin
+ if use X; then
+ doexe mtinkc mtink ttink detect/askPrinter
+ else
+ doexe ttink detect/askPrinter
+ fi
+ 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() {
+ # see #70310
+ chmod 700 /var/mtink /var/run/mtink 2>/dev/null
+
+ 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
+}