summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2003-10-04 02:11:55 +0000
committerSteve Arnold <nerdboy@gentoo.org>2003-10-04 02:11:55 +0000
commit5d191a177b60cbfbc5dff7ae256621affe6f1c3f (patch)
tree3bea96527ed9e1a86aaf38e52f08220a28f40abe /net-misc/capi4hylafax
parenthybrid of two user-submitted ebuilds (diff)
downloadhistorical-5d191a177b60cbfbc5dff7ae256621affe6f1c3f.tar.gz
historical-5d191a177b60cbfbc5dff7ae256621affe6f1c3f.tar.bz2
historical-5d191a177b60cbfbc5dff7ae256621affe6f1c3f.zip
hybrid of two user-submitted ebuilds
Diffstat (limited to 'net-misc/capi4hylafax')
-rw-r--r--net-misc/capi4hylafax/Manifest5
-rw-r--r--net-misc/capi4hylafax/capi4hylafax-01.02.02.ebuild53
-rw-r--r--net-misc/capi4hylafax/files/capi4hylafax20
-rw-r--r--net-misc/capi4hylafax/files/digest-capi4hylafax-01.02.021
-rw-r--r--net-misc/capi4hylafax/metadata.xml11
5 files changed, 89 insertions, 1 deletions
diff --git a/net-misc/capi4hylafax/Manifest b/net-misc/capi4hylafax/Manifest
index 558e2d62faa7..03fbd373d153 100644
--- a/net-misc/capi4hylafax/Manifest
+++ b/net-misc/capi4hylafax/Manifest
@@ -1,2 +1,5 @@
-MD5 9733ce85c79f376d127984dff8999612 capi4hylafax-01.02.02.ebuild 1121
+MD5 6aaa8bc134c5106f76662fc09635a07f capi4hylafax-01.02.02.ebuild 1488
+MD5 86839ab49843d9936a51027707b8422f metadata.xml 386
+MD5 ac11cc11287785b0a4a16ef3c5dc6ce4 ChangeLog 391
MD5 7033ac371b28b9db979167f182afd52c files/digest-capi4hylafax-01.02.02 73
+MD5 8d2ed89bc1f0ec75d51b43a0bbec9a1e files/capi4hylafax 333
diff --git a/net-misc/capi4hylafax/capi4hylafax-01.02.02.ebuild b/net-misc/capi4hylafax/capi4hylafax-01.02.02.ebuild
new file mode 100644
index 000000000000..062cd059805b
--- /dev/null
+++ b/net-misc/capi4hylafax/capi4hylafax-01.02.02.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/capi4hylafax/capi4hylafax-01.02.02.ebuild,v 1.1 2003/10/04 02:11:53 nerdboy Exp $
+
+DESCRIPTION="CAPI4HylaFAX - send/recieve faxes via CAPI and AVM Fritz!Cards."
+SRC_URI="ftp://ftp.avm.de/tools/capi4hylafax.linux/capi4hylafax-01.02.02.tar.gz"
+HOMEPAGE="http://capi4linux.thepenguin.de/"
+
+IUSE=""
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
+DEPEND="virtual/glibc
+ >=media-libs/tiff-3.5.5
+ net-dialup/capi4k-utils
+ sys-devel/automake"
+
+RDEPEND="virtual/glibc
+ >=media-libs/tiff-3.5.5
+ net-dialup/capi4k-utils
+ net-mail/metamail
+ >=app-text/ghostscript-5.50
+ hylafax? ( net-misc/hylafax )"
+
+src_compile() {
+ ./configure --prefix=/usr --with-hylafax-spooldir=/var/spool/fax || die
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR=${D} || die
+ insinto /var/spool/fax/etc
+ doins config.faxCAPI
+ dodoc README.html
+ dodoc LIESMICH.html
+ dodoc sample_*
+ dodoc fritz_pic.tif
+ dodoc GenerateFileMail.pl
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/capi4hylafax
+}
+
+pkg_postinst() {
+ einfo "To use CAPI4HylaFAX:"
+ einfo "Make sure the your isdn/capi devices are owned by"
+ einfo "the "fax" user (set in /etc/devfsd.conf)."
+ einfo "Modify /var/spool/fax/etc/config.faxCAPI"
+ einfo "to suit your system, and append the line"
+ einfo "SendFaxCmd: /usr/bin/c2faxsend"
+ einfo "to your HylaFAX config file (/var/spool/fax/etc/config)."
+}
diff --git a/net-misc/capi4hylafax/files/capi4hylafax b/net-misc/capi4hylafax/files/capi4hylafax
new file mode 100644
index 000000000000..43693f2e4efd
--- /dev/null
+++ b/net-misc/capi4hylafax/files/capi4hylafax
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+
+depend() {
+ need capi
+}
+
+start() {
+ ebegin "Starting CAPI4HylaFAX"
+ start-stop-daemon -b -m --quiet --start --exec /usr/bin/c2faxrecv \
+ --pidfile /var/run/c2faxrecv.pid
+ eend $?
+
+}
+
+stop() {
+ ebegin "Stopping CAPI4HylaFAX"
+ start-stop-daemon -o --quiet --stop --pidfile /var/run/c2faxrecv.pid
+ eend $?
+
+}
diff --git a/net-misc/capi4hylafax/files/digest-capi4hylafax-01.02.02 b/net-misc/capi4hylafax/files/digest-capi4hylafax-01.02.02
new file mode 100644
index 000000000000..b5f4d4b03725
--- /dev/null
+++ b/net-misc/capi4hylafax/files/digest-capi4hylafax-01.02.02
@@ -0,0 +1 @@
+MD5 1ef61b98b2a3c59356a12f6defaa5d36 capi4hylafax-01.02.02.tar.gz 623062
diff --git a/net-misc/capi4hylafax/metadata.xml b/net-misc/capi4hylafax/metadata.xml
new file mode 100644
index 000000000000..ba31d6a2c376
--- /dev/null
+++ b/net-misc/capi4hylafax/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>comm-fax</herd>
+<maintainer>
+ <email>nerdboy@gentoo.org</email>
+ <name>Steve Arnold</name>
+ <description>Primary Maintainer</description>
+</maintainer>
+<longdescription>Fax package for ISDN cards with CAPI capabilities.</longdescription>
+</pkgmetadata>