summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2009-12-11 02:40:33 +0000
committerJeremy Olexa <darkside@gentoo.org>2009-12-11 02:40:33 +0000
commitb313fcfbec7b330fe531d98dda796fed7120753d (patch)
treed489d7cf13bb521a1ad839685fe63804b73de276 /media-libs/hamlib
parentVersion bump. (diff)
downloadhistorical-b313fcfbec7b330fe531d98dda796fed7120753d.tar.gz
historical-b313fcfbec7b330fe531d98dda796fed7120753d.tar.bz2
historical-b313fcfbec7b330fe531d98dda796fed7120753d.zip
Version bump, ebuild by Thomas Beierlein
Package-Manager: portage-2.1.7.4/cvs/Linux x86_64
Diffstat (limited to 'media-libs/hamlib')
-rw-r--r--media-libs/hamlib/ChangeLog7
-rw-r--r--media-libs/hamlib/Manifest4
-rw-r--r--media-libs/hamlib/hamlib-1.2.10.ebuild87
3 files changed, 96 insertions, 2 deletions
diff --git a/media-libs/hamlib/ChangeLog b/media-libs/hamlib/ChangeLog
index e11e24d7677c..2c189657340a 100644
--- a/media-libs/hamlib/ChangeLog
+++ b/media-libs/hamlib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/hamlib
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/ChangeLog,v 1.39 2009/08/29 18:14:26 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/ChangeLog,v 1.40 2009/12/11 02:40:33 darkside Exp $
+
+*hamlib-1.2.10 (11 Dec 2009)
+
+ 11 Dec 2009; Jeremy Olexa <darkside@gentoo.org> +hamlib-1.2.10.ebuild:
+ Version bump, ebuild by Thomas Beierlein
29 Aug 2009; nixnut <nixnut@gentoo.org> hamlib-1.2.9.ebuild:
ppc stable #276423
diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 1e5ce303d15d..87cd4cd3561a 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,6 +1,8 @@
AUX hamlib-ltdl.diff 1359 RMD160 ffc06ebe344f14e54c92abdc5b22c09739b1963e SHA1 5e734d14f77584fd65a8ad0b1fea399a8a9c52c3 SHA256 059ce76b9d56a7fd028815c78aa1214b21bb5d2c3ccbe72dcf06534b09d63e4e
AUX hamlib-pkgconfig-fix.diff 373 RMD160 fe7a8275b28ea73480b9bf1eb916302d84eb351f SHA1 bc0abd242bc35897000d405bc1fb831a48fad976 SHA256 6c45445bf2bc12b9738b6315543df662a0dd36167a57a3623bb11446e882802c
+DIST hamlib-1.2.10.tar.gz 1799309 RMD160 7e5e887e9e1188b19157e76f88b40b3bf7c157a3 SHA1 c8ea2cafc8286805aa815d37e72857286db93d88 SHA256 9b50825666519b0b86469f1988a0de09ce2ffc08fa221f9aa40d18c7b7f6c651
DIST hamlib-1.2.9.tar.gz 1611457 RMD160 3261d4e6de39a9a050f304dfd747fe8a036a782b SHA1 9cfbfad347b254ab73cb00714b494aaa8cd21f8d SHA256 ba75e64e1b6d5ffaa41e2063e475eca5b35ad68cb4ee6e888e0fc73bd6fa9fba
+EBUILD hamlib-1.2.10.ebuild 2110 RMD160 7d0cb3623d39ee8ab46210f63b9e9073344f505c SHA1 4b0f3aacca6e0a0fa3967084e2ef04ec50d9ff43 SHA256 fe5ecbb556005482b8e318ee4f9d881987a67beb50018e24cd7fd1a6670d2e2c
EBUILD hamlib-1.2.9.ebuild 1556 RMD160 73b28d2f2dfcaab0bdaaf9056a2c95ad5f62f215 SHA1 b32aa93ff01add3cc463bc5d0a0749897d0219ea SHA256 0d0afd9248eb041678842ad592d33d890bc865f46d117baa3ded8b4f57b5038f
-MISC ChangeLog 6670 RMD160 3bbe766ef5223d678c3dc0711747cf9e2b889786 SHA1 d670202b9c355a1c7c5b413f6496826c6243a11c SHA256 20212f5418478b4da6a3afaed234ace1a38ec15d0cb622a789a2f5ca79bfdbc1
+MISC ChangeLog 6819 RMD160 e3263007dc85fa9b6b37f1ab3d87e580acb8ada7 SHA1 c7468a01f8755e3fe7c9c4546cd882a26ed4ce69 SHA256 1d78bc8bfadc2693f6f6b81c2a4eb5b7ab95fe30aea9184a9a9c1e50770a58b9
MISC metadata.xml 445 RMD160 5c4df32a3cd29ba926c9c5457ad462ac00798b87 SHA1 db84ad4be4f3e05bddbcbd4eafdf17b9f1b68bf6 SHA256 f47eb6e8c3746271d2996691a234c9216c9821ec937828d8c8aeedca29b10d00
diff --git a/media-libs/hamlib/hamlib-1.2.10.ebuild b/media-libs/hamlib/hamlib-1.2.10.ebuild
new file mode 100644
index 000000000000..afb9a519dea0
--- /dev/null
+++ b/media-libs/hamlib/hamlib-1.2.10.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/hamlib-1.2.10.ebuild,v 1.1 2009/12/11 02:40:33 darkside Exp $
+
+inherit autotools eutils multilib python
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="http://sourceforge.net/apps/mediawiki/hamlib"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="doc python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+ =virtual/libusb-0*
+ dev-libs/libxml2
+ python? ( dev-lang/python
+ dev-lang/tcl )
+ tcl? ( dev-lang/tcl )"
+
+DEPEND=" ${RDEPEND}
+ dev-util/pkgconfig
+ dev-lang/swig
+ >=sys-devel/libtool-2.2
+ doc? ( app-doc/doxygen )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # fix hardcoded libdir paths
+ sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+ -e "s#fix}/include#fix}/include/hamlib#" \
+ hamlib.pc.in || die "sed failed"
+ sed -i -e "s#/lib/#/$(get_libdir)/#g" \
+ bindings/Makefile.am || die "sed failed"
+
+ if use python ; then
+ # fix python lib path
+ python_version
+ sed -i -e "s#/python#/python${PYVER}#" \
+ bindings/Makefile.am || die "sed failed"
+ fi
+
+ # avoid compilation and use of bundled libltdl copy
+ sed -i -e "s/lib libltdl src/lib src/g" \
+ Makefile.am || die "sed failed"
+ eautoreconf
+ rm -rf libltdl
+}
+
+src_compile() {
+ econf \
+ --libdir=/usr/$(get_libdir)/hamlib \
+ --disable-static \
+ --with-rpc-backends \
+ --without-perl-binding \
+ $(use_with python python-binding) \
+ $(use_enable tcl tcl-binding)
+
+ emake || die "emake failed"
+
+ if use doc ; then
+ cd doc && make doc || die "make doc failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS PLAN README README.betatester \
+ README.developer NEWS TODO || die "dodoc failed"
+
+ if use doc; then
+ dohtml doc/html/* || die "dohtml failed"
+ fi
+
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins hamlib.pc || die "doins failed"
+
+ echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+ doenvd "${T}"/73hamlib || die "doenvd failed"
+}