summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-24 11:42:56 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-24 11:42:56 +0000
commita45a04ea8be9682af91145f24b17c3f6bb0fb616 (patch)
treef743e13fc3aaf118d3401e8a828b5200201b070c /net-misc/hylafax
parentinitial ebuild, fixes bug # 1714 (diff)
downloadgentoo-2-a45a04ea8be9682af91145f24b17c3f6bb0fb616.tar.gz
gentoo-2-a45a04ea8be9682af91145f24b17c3f6bb0fb616.tar.bz2
gentoo-2-a45a04ea8be9682af91145f24b17c3f6bb0fb616.zip
lee from hylafax-users has a patch for a cleaner ebuild
Diffstat (limited to 'net-misc/hylafax')
-rw-r--r--net-misc/hylafax/ChangeLog15
-rw-r--r--net-misc/hylafax/files/digest-hylafax-4.1.2-r11
-rw-r--r--net-misc/hylafax/files/hylafax-4.1.2-gentoo-diffs.tar.bz2bin3605 -> 3993 bytes
-rw-r--r--net-misc/hylafax/hylafax-4.1.2-r1.ebuild79
4 files changed, 93 insertions, 2 deletions
diff --git a/net-misc/hylafax/ChangeLog b/net-misc/hylafax/ChangeLog
index 049964c1dd3c..c33bd7bbb55e 100644
--- a/net-misc/hylafax/ChangeLog
+++ b/net-misc/hylafax/ChangeLog
@@ -1,10 +1,21 @@
# ChangeLog for net-misc/hylafax
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/ChangeLog,v 1.2 2002/04/24 05:13:00 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/ChangeLog,v 1.3 2002/04/24 11:42:56 seemant Exp $
+
+*hylafax-4.1.2-r1 (24 Apr 2002)
+
+ 24 Apr 2002; Seemant Kulleen <seemant@gentoo.org> hylafax-4.1.2-r1.ebuild
+ files/hylafax-4.1.2-r1-gentoo-diffs.tar.bz2 files/digest-hylafax-4.1.2-r1 :
+
+ Lee Howard <faxguy@deanox.com> from the hylafax-users mailing list informed
+ me that drobbins' patch to make the configure script work with sed-3.02.80
+ (as posted on hylafax's bugzilla by g2boojum) was a tad incomplete. He
+ graciously completed it et voila! successful emerge without having to compile
+ a static sed-3.02 :) Many thanks to him.
*hylafax-4.1.2 (23 Apr 2002)
- 22 Apr 2002; Seemant Kulleen <seemant@gentoo.org> hylafax-4.1.2.ebuild
+ 23 Apr 2002; Seemant Kulleen <seemant@gentoo.org> hylafax-4.1.2.ebuild
files/hylafax-4.1.2-gentoo-diffs.tar.bz2 files/digest-hylafax-4.1.2 :
Updated to newest stable release. This is a pain to build because it requires
diff --git a/net-misc/hylafax/files/digest-hylafax-4.1.2-r1 b/net-misc/hylafax/files/digest-hylafax-4.1.2-r1
new file mode 100644
index 000000000000..660644ee4e8e
--- /dev/null
+++ b/net-misc/hylafax/files/digest-hylafax-4.1.2-r1
@@ -0,0 +1 @@
+MD5 b10225bbbda1f02c07258621d0ceb819 hylafax-4.1.2.tar.gz 1259364
diff --git a/net-misc/hylafax/files/hylafax-4.1.2-gentoo-diffs.tar.bz2 b/net-misc/hylafax/files/hylafax-4.1.2-gentoo-diffs.tar.bz2
index a50adbd3467f..c4d29fbd895b 100644
--- a/net-misc/hylafax/files/hylafax-4.1.2-gentoo-diffs.tar.bz2
+++ b/net-misc/hylafax/files/hylafax-4.1.2-gentoo-diffs.tar.bz2
Binary files differ
diff --git a/net-misc/hylafax/hylafax-4.1.2-r1.ebuild b/net-misc/hylafax/hylafax-4.1.2-r1.ebuild
new file mode 100644
index 000000000000..e4cb18a57de7
--- /dev/null
+++ b/net-misc/hylafax/hylafax-4.1.2-r1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-4.1.2-r1.ebuild,v 1.1 2002/04/24 11:42:56 seemant Exp $
+
+S=${WORKDIR}/${P}
+MYSED=sed-3.02
+PATCHES=${WORKDIR}/patches
+DESCRIPTION="Fax package for class 1 and 2 fax modems."
+SRC_URI="ftp://ftp.hylafax.org/source/${P}.tar.gz"
+HOMEPAGE="http://www.hylafax.org"
+
+DEPEND="net-dialup/mgetty
+ sys-libs/zlib
+ app-text/ghostscript
+ media-libs/tiff
+ jpeg? ( media-libs/jpeg )"
+
+src_unpack() {
+
+ unpack ${P}.tar.gz
+ mkdir patches
+ cd patches
+ tar jxvf ${FILESDIR}/${P}-gentoo-diffs.tar.bz2
+ cd ${S}
+ patch -p1 < ${PATCHES}/${P}-dso.chris.patch
+ patch -p1 < ${PATCHES}/${P}-shlib-pic.chris.patch
+ patch -p1 < ${PATCHES}/${P}-gentoo.patch
+ patch -p1 < ${PATCHES}/${P}-topmargin.patch
+ patch < ${PATCHES}/${P}-configure.patch
+
+}
+
+src_compile() {
+
+ ./configure \
+ --with-DIR_BIN=/usr/bin \
+ --with-DIR_SBIN=/usr/sbin \
+ --with-DIR_LIB=/usr/lib \
+ --with-DIR_LIBEXEC=/usr/sbin \
+ --with-DIR_LIBDATA=/usr/lib/fax \
+ --with-DIR_LOCKS=/var/lock \
+ --with-DIR_MAN=/usr/share/man \
+ --with-DIR_SPOOL=/var/spool/fax \
+ --with-AFM=no \
+ --with-AWK=/usr/bin/gawk \
+ --with-PATH_VGETTY=/sbin/vgetty \
+ --with-PATH_GETTY=/sbin/agetty \
+ --with-HTML=no \
+ --with-PATH_DPSRIP=/var/spool/fax/bin/ps2fax \
+ --with-PATH_IMPRIP=/usr/share/fax/psrip \
+ --with-SYSVINIT=/etc/init.d \
+ --with-INTERACTIVE=no || die
+
+ make \
+ OPTIMIZER="${CFLAGS}" || die
+}
+
+src_install() {
+
+ dodir /usr/{bin,sbin} /usr/lib/fax /usr/share/man /var/spool/fax
+
+ make \
+ BIN=${D}/usr/bin \
+ SBIN=${D}/usr/sbin \
+ LIBDIR=${D}/usr/lib \
+ LIB=${D}/usr/lib \
+ LIBEXEC=${D}/usr/sbin \
+ LIBDATA=${D}/usr/lib/fax \
+ MAN=${D}/usr/share/man \
+ SPOOL=${D}/var/spool/fax \
+ install || die
+
+ insinto /etc/init.d
+ doins etc/hylafax
+
+ dodoc COPYRIGHT README TODO VERSION
+ dohtml -r .
+}