# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="isdn fax and anserwing machine" HOMEPAGE="http://www.capisuite.de" SRC_URI="http://www.capisuite.de/${P}.tar.gz" SLOT="0" IUSE="" LICENSE="GPL-2" KEYWORDS="~x86" DEPEND="net-dialup/capi4k-utils" # virtual/capi #maybe another category will suit sfftobmp better RDEPEND="net-dialup/sfftobmp sys-devel/patch media-sound/sox media-libs/tiff virtual/ghostscript" src_unpack() { unpack ${A} cd ${S} # old patch still works. Why do you drop epatch ${FILESDIR}/${P}-gentoo.patch # epatch ${FILESDIR}/capisuite-0.4.3-gentoo.patch } src_compile() { myconf="--localstatedir=/var \ --with-docdir=/usr/share/doc/${P}" econf ${myconf} || die "could not configure" emake || die "emake failed" } src_install() { make DESTDIR=${D} install exeinto /etc/init.d newexe ${FILESDIR}/capisuite capisuite keepdir /var/spool/capisuite/{done,failed,received,sendq,users} #fowners root:users /var/spool/capisuite #fperms 770 /var/spool/capisuite dodoc AUTHORS COPYING INSTALL NEWS README TODO #do we need a manual.pdf? #insinto /usr/share/doc/${PF} #doins docs/manual.pdf }