Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/hamlib: ChangeLog hamlib-1.2.8-r1.ebuild hamlib-1.2.8.ebuild
Date: Sat, 27 Dec 2008 17:11:50
Message-Id: E1LGchX-0003ZU-97@stork.gentoo.org
1 darkside 08/12/27 17:11:47
2
3 Modified: ChangeLog
4 Added: hamlib-1.2.8-r1.ebuild
5 Removed: hamlib-1.2.8.ebuild
6 Log:
7 Add patch to allow hamlib to use the system libltdl instead of a bundled one, patch by Thomas Beierlein. bug 252326
8 (Portage version: 2.2_rc19/cvs/Linux 2.6.27.10 x86_64)
9
10 Revision Changes Path
11 1.30 media-libs/hamlib/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/hamlib/ChangeLog?rev=1.30&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/hamlib/ChangeLog?rev=1.30&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/hamlib/ChangeLog?r1=1.29&r2=1.30
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/hamlib/ChangeLog,v
20 retrieving revision 1.29
21 retrieving revision 1.30
22 diff -u -r1.29 -r1.30
23 --- ChangeLog 4 Dec 2008 17:58:18 -0000 1.29
24 +++ ChangeLog 27 Dec 2008 17:11:47 -0000 1.30
25 @@ -1,6 +1,13 @@
26 # ChangeLog for media-libs/hamlib
27 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/ChangeLog,v 1.29 2008/12/04 17:58:18 darkside Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/ChangeLog,v 1.30 2008/12/27 17:11:47 darkside Exp $
30 +
31 +*hamlib-1.2.8-r1 (27 Dec 2008)
32 +
33 + 27 Dec 2008; Jeremy Olexa <darkside@g.o> +files/hamlib-ltdl.diff,
34 + -hamlib-1.2.8.ebuild, +hamlib-1.2.8-r1.ebuild:
35 + Add patch to allow hamlib to use the system libltdl instead of a bundled
36 + one, patch by Thomas Beierlein. bug 252326
37
38 *hamlib-1.2.8 (04 Dec 2008)
39
40
41
42
43 1.1 media-libs/hamlib/hamlib-1.2.8-r1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/hamlib/hamlib-1.2.8-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/hamlib/hamlib-1.2.8-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: hamlib-1.2.8-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/hamlib-1.2.8-r1.ebuild,v 1.1 2008/12/27 17:11:47 darkside Exp $
53
54 inherit autotools eutils libtool multilib
55
56 DESCRIPTION="Ham radio backend rig control libraries"
57 HOMEPAGE="http://hamlib.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
59
60 LICENSE="LGPL-2 GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~x86-fbsd"
63 IUSE="doc python tcl"
64
65 RESTRICT="test"
66
67 RDEPEND="virtual/libc
68 >=sys-devel/libtool-1.5
69 dev-libs/libusb
70 python? ( dev-lang/python
71 dev-lang/tcl )
72 tcl? ( dev-lang/tcl )"
73
74 DEPEND=" ${RDEPEND}
75 >=dev-util/pkgconfig-0.15
76 >=dev-lang/swig-1.3.14
77 dev-libs/libxml2
78 doc? ( >=app-doc/doxygen-1.3.5 )"
79
80 src_unpack() {
81 unpack ${A}
82 cd "${S}"
83
84 epatch "${FILESDIR}"/${PN}-pkgconfig-fix.diff \
85 "${FILESDIR}"/${PN}-ltdl.diff
86
87 # remove bundled libltdl copy
88 rm -rf libltdl
89
90 eautoreconf
91 }
92
93 src_compile() {
94 econf \
95 --libdir=/usr/$(get_libdir)/hamlib \
96 --disable-static \
97 --with-rpc-backends \
98 --without-perl-binding \
99 $(use_with python python-binding) \
100 $(use_with tcl tcl-binding)
101
102 emake -j1 || die "emake failed"
103
104 if use doc ; then
105 cd doc && make doc || die "make doc failed"
106 fi
107 }
108
109 src_install() {
110 emake DESTDIR="${D}" install || die "emake install failed"
111
112 dodoc AUTHORS PLAN README README.betatester \
113 README.developer LICENSE NEWS TODO
114
115 if use doc; then
116 dohtml doc/html/*
117 fi
118
119 insinto /usr/$(get_libdir)/pkgconfig
120 doins hamlib.pc
121
122 echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
123 doenvd "${T}"/73hamlib
124 }