/[gentoo-x86]/media-libs/hamlib/hamlib-1.2.2.ebuild
Gentoo

Contents of /media-libs/hamlib/hamlib-1.2.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Jul 6 23:34:49 2006 UTC (11 years, 10 months ago) by squinky86
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Mark 1.2.4 stable on amd64, bug #138107. Add new version from upstream. Remove old versions.
(Portage version: 2.1.1_pre2-r4)
 (Unsigned Manifest commit)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/hamlib-1.2.2.ebuild,v 1.5 2006/03/19 23:03:07 joshuabaergen Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Ham radio backend rig control libraries"
8 HOMEPAGE="http://sourceforge.net/projects/hamlib/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="x86 ~ppc alpha"
14 IUSE="doc gd python tcltk X"
15
16 RDEPEND="virtual/libc
17 gd? ( media-libs/gd )
18 python? ( dev-lang/python )
19 tcltk? ( dev-lang/tk )
20 dev-lang/swig"
21 DEPEND="sys-devel/libtool
22 >=dev-util/pkgconfig-0.12.0
23 doc? ( >=app-doc/doxygen-1.3.5-r1 )"
24
25 src_unpack() {
26 unpack ${A}
27 cd ${S}
28 epatch ${FILESDIR}/${PN}-pkgconfig-fix.diff || \
29 die "epatch failed"
30 }
31
32 src_compile() {
33 econf \
34 --libdir=/usr/lib/hamlib \
35 --with-microtune \
36 --without-rpc-backends \
37 --without-perl-binding \
38 $(use_with python python-binding) \
39 $(use_with tcltk tcl-binding) \
40 $(use_with gd rigmatrix) \
41 $(use_with X x) \
42 || die "configure failed"
43 emake || die "emake failed"
44 if use doc ; then
45 cd doc && make doc || die "make doc failed"
46 fi
47 }
48
49 src_install() {
50 einstall \
51 libdir=${D}/usr/lib/hamlib || \
52 die "einstall failed"
53 dodoc AUTHORS PLAN README README.betatester
54 dodoc README.developer LICENSE NEWS TODO
55 if use doc; then
56 dohtml doc/html/*
57 doman doc/man/man3/*
58 fi
59 insinto /usr/lib/pkgconfig
60 doins hamlib.pc
61 echo "LDPATH=/usr/lib/hamlib" > 73hamlib
62 insinto /etc/env.d
63 doins 73hamlib
64 }
65

  ViewVC Help
Powered by ViewVC 1.1.20