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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Jul 6 23:34:49 2006 UTC (12 years, 3 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.3.ebuild,v 1.5 2006/03/19 23:03:07 joshuabaergen Exp $
4
5 inherit eutils multilib
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 ~amd64"
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-1.5
22 >=sys-devel/autoconf-2.5
23 >=sys-devel/automake-1.7
24 >=dev-util/pkgconfig-0.12.0
25 doc? ( >=app-doc/doxygen-1.3.5 )"
26
27 src_unpack() {
28 unpack ${A}
29 cd ${S}
30 epatch ${FILESDIR}/${PN}-pkgconfig-fix.diff || \
31 die "epatch failed"
32 }
33
34 src_compile() {
35 econf \
36 --libdir=/usr/$(get_libdir)/hamlib \
37 --with-microtune \
38 --without-rpc-backends \
39 --without-perl-binding \
40 $(use_with python python-binding) \
41 $(use_with tcltk tcl-binding) \
42 $(use_with gd rigmatrix) \
43 $(use_with X x) \
44 || die "configure failed"
45 emake || die "emake failed"
46 if use doc ; then
47 cd doc && make doc || die "make doc failed"
48 fi
49 }
50
51 src_install() {
52 einstall \
53 libdir=${D}/usr/$(get_libdir)/hamlib || \
54 die "einstall failed"
55 dodoc AUTHORS PLAN README README.betatester
56 dodoc README.developer LICENSE NEWS TODO
57 if use doc; then
58 dohtml doc/html/*
59 doman doc/man/man3/*
60 fi
61 insinto /usr/$(get_libdir)/pkgconfig
62 doins hamlib.pc
63 echo "LDPATH=/usr/$(get_libdir)/hamlib" > 73hamlib
64 insinto /etc/env.d
65 doins 73hamlib
66 }

  ViewVC Help
Powered by ViewVC 1.1.20