/[gentoo-x86]/net-dialup/capisuite/capisuite-0.4.5-r8.ebuild
Gentoo

Contents of /net-dialup/capisuite/capisuite-0.4.5-r8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun May 5 12:09:37 2013 UTC (6 years, 8 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #468292

(Portage version: 2.1.11.63/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-dialup/capisuite/capisuite-0.4.5-r8.ebuild,v 1.2 2013/05/05 11:46:13 pinkbyte Exp $
4
5 EAPI=5
6
7 AUTOTOOLS_AUTORECONF=1
8 AUTOTOOLS_IN_SOURCE_BUILD=1
9 AUTOTOOLS_PRUNE_LIBTOOL_FILES=none # bugs 468292 and 468380
10 PYTHON_COMPAT=( python2_7 )
11 inherit autotools-utils flag-o-matic python-single-r1
12
13 DESCRIPTION="ISDN telecommunication suite providing fax and voice services"
14 HOMEPAGE="http://www.capisuite.org"
15 SRC_URI="http://www.capisuite.org/${P}.tar.gz"
16
17 LICENSE="GPL-2"
18 SLOT="0"
19 KEYWORDS="amd64 ~ppc x86"
20
21 DEPEND="${PYTHON_DEPS}
22 media-sound/sox
23 >=media-libs/tiff-3.7.1
24 media-gfx/jpeg2ps
25 media-gfx/sfftobmp
26 app-text/ghostscript-gpl
27 net-dialup/capi4k-utils"
28 RDEPEND="${DEPEND}
29 virtual/mta"
30
31 DOCS=( AUTHORS ChangeLog NEWS README TODO )
32 PATCHES=(
33 "${FILESDIR}/${P}-as-needed.patch"
34 # taken from capisuite-0.4.5-5.src.rpm (SuSE-9.3)
35 "${FILESDIR}/${P}-capi4linux_v3.diff"
36 # patched scripts/cs_helpers.pyin (bug #96540)
37 "${FILESDIR}/${P}-date-header.patch"
38 # patched src/backend/connection.cpp (bug #69522)
39 "${FILESDIR}/${PN}-fax-compatibility.patch"
40 # patched scripts/{incoming,idle}.py (bug #147854)
41 "${FILESDIR}/${P}-syntax.patch"
42 # GCC 4.3 patches (bug #236777)
43 "${FILESDIR}/${P}-gcc43.patch"
44 # Python 2.5 patches (bug #232734)
45 "${FILESDIR}/${P}-python25.patch"
46 # Compability with current SOX (bug #250320)
47 "${FILESDIR}/${P}-sox.patch"
48 # Compatibility with automake >= 1.11.2 (bug #424892)
49 "${FILESDIR}/${P}-automake-1.11.patch"
50 # Respect AR (bug #467222)
51 "${FILESDIR}/${P}-respect-ar.patch"
52 )
53
54 src_configure() {
55 strip-flags # see bug #90901
56
57 local myeconfargs=(
58 --localstatedir="/var"
59 --with-docdir="/usr/share/doc/${PF}"
60 )
61 autotools-utils_src_configure
62 }
63
64 src_install() {
65 autotools-utils_src_install
66
67 rm -f "${D}"/usr/{lib,share}/capisuite/README
68 rmdir -p --ignore-fail-on-non-empty "${D}/var/log"
69 rm -f "${D}/usr/share/doc/${PF}"/{COPYING,manual.pdf}
70 keepdir /var/spool/capisuite/{done,failed,sendq,users}
71
72 newinitd "${FILESDIR}/capisuite.initd" capisuite
73
74 insinto /etc/logrotate.d
75 newins "${FILESDIR}/capisuite.logrotated" capisuite
76
77 exeinto /etc/cron.daily
78 doexe capisuite.cron
79
80 insinto /etc/capisuite
81 doins cronjob.conf
82 }

  ViewVC Help
Powered by ViewVC 1.1.20