summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2013-03-28 18:32:44 +0000
committerTom Wijsman <tomwij@gentoo.org>2013-03-28 18:32:44 +0000
commit30cfab5814939db20ef30af8b34f05eaa9e75eba (patch)
tree2f0728fdb33077ded41c4290defb905edf5fa188 /dev-libs/libdivecomputer
parentNew ebuild for libdivecomputer, a library for communication with dive compute... (diff)
downloadhistorical-30cfab5814939db20ef30af8b34f05eaa9e75eba.tar.gz
historical-30cfab5814939db20ef30af8b34f05eaa9e75eba.tar.bz2
historical-30cfab5814939db20ef30af8b34f05eaa9e75eba.zip
New ebuild for libdivecomputer, a library for communication with dive computers from various manufacturers. Ebuild contributed by Martin Gysel aka bearsh, corrected by Aaron Bauman aka B-Man. Fixes bug #437960.
Package-Manager: portage-2.1.11.59/cvs/Linux x86_64 Manifest-Sign-Key: 0x6D34E57D
Diffstat (limited to 'dev-libs/libdivecomputer')
-rw-r--r--dev-libs/libdivecomputer/Manifest18
-rw-r--r--dev-libs/libdivecomputer/libdivecomputer-0.3.0.ebuild59
-rw-r--r--dev-libs/libdivecomputer/metadata.xml17
3 files changed, 92 insertions, 2 deletions
diff --git a/dev-libs/libdivecomputer/Manifest b/dev-libs/libdivecomputer/Manifest
index b980e81557c2..c08eb5ab102a 100644
--- a/dev-libs/libdivecomputer/Manifest
+++ b/dev-libs/libdivecomputer/Manifest
@@ -1,4 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST libdivecomputer-0.3.0.tar.gz 473927 SHA256 84a496dab7d6e5e88bcf197015e5fc3b568492545cb0b55b9007e13f5820a5c0 SHA512 8dd92aad735ad53f642e3e16e922108b842d13053a79617652424e26f030320117f12cb8184f8605cb0aa3c16430c28de9d39dc73e94a87b49dff7d05f177003 WHIRLPOOL 805bf22d38fa2c212d63b2a6c8826b522447b3933cb52bd39776f1565e9f984c7752de8e4c54878b7fb7273d7c2488fdf8c90dd1f400ab398b7fc82df6ceb577
-EBUILD libdivecomputer-0.3.0.ebuild 1176 SHA256 391280bb9616dc17564e72429740cf4551cfeb1f535c5c804b5e661fbd0eff77 SHA512 9090f180d78c586e2eca15757ca2882a79b270d4d00cec3eea4c53f3c5a9b5d60735e29ad933c04867cb85b17aa139689e1ce6d4b20596c01ff1726aba1ae2fa WHIRLPOOL 14a5fc22ec973e35183f54e4d3f503217b4e7149640671e0467f9b8b80c77f3411692ffc009f1badeaee50af3b97d85ffb20c5bcb80bf6dac045c960c7dc7873
-MISC ChangeLog 475 SHA256 738081a3eb1c754c0546f872ba84c51a0567ba617c974739d6123aec547ec40d SHA512 8a9708fbcaf4c7c80368f818a377cd44cc359fbb4ed5bd5c2778fb801da1905d2db049c8c8ac68634ae966f840abed7c5c8351511f40050bad3574baa4f4aedb WHIRLPOOL 9e45a91fa0f5f40bfe9a22dad9df69fe82c9ca6a50d83ec5b47f7bf5f4195af54fbdcde34c0effb24545ad64f3940f68cbfcdae73ec59bce9651c82325ad0589
+EBUILD libdivecomputer-0.3.0.ebuild 1291 SHA256 328a38217ca1927d63e5ca9be2d1674a5f30a279ac0ceb06951479a306c2636d SHA512 cb241e1f677f4aa1d0c204ddf3b24b01458bd923b5a66df3a688b080265f364d1356512d1d25942e6cfb99b44ea0f8073df31731ef44935559dbdcf194abd664 WHIRLPOOL 61cd715d4d4148d1d9b0d5596946558877391104653a3edcf4c484289135d85122f39c5b05167aa6ecf668188ae0cd5b05d0600e82f522da41b92651b70b05f3
+MISC ChangeLog 571 SHA256 4c9ec0bda812b11bdd165ac13d6374b0823569cd63699c1fa3be01b5c5489372 SHA512 aa995f66f858c9a0d5de4be80d1765f501624a810a30cf396362ce7d9e5dfc4ca75026ec971c9d34b94a612eb0cd13f471b691c5bd9158c0387f8d9c649b9b04 WHIRLPOOL b91cb450c3156ac5e5f308babef4b6d935a2d9ff2455ff52eb5943ff14409299c7e75ebab73654f60820e42647111b33b064bcf4e7735b3267c5cae78a3bb164
MISC metadata.xml 593 SHA256 a20c82217ffcaa34a8f81557ab905941bc8d45e1aefc834f852657cfca22b19e SHA512 a84ca7e11a4839d6d2e81ea55a22c88d48d8649edfd2d2a3684e8ad9d7b67cdfea57df0fe8137c2e4ab4a1e47085e8789bb46c5527a6ce618323d56c990d2d7f WHIRLPOOL 327c65e54d3777b66b78bc182be742c8dd03a3316830bb47ecf2d156be6f8739d6a750a8d8bb667d65d5f8085d489a40d5403479cf93ad0529458221204c3bb7
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJRVIynAAoJEJWyH81tNOV9sRAH/0H3Y8Y/yWDpzIxawWqH9A5J
+megR8tNbTFtypsAJKk3BKXnH+wVCmjMUSW1oS+QKhQGtcFntEY6vmpW4i6dLvA1f
+BKeP86Es1R6df7Ogu60juqy5xD/wRIBeM4BQL/LXzFJtUWZpN7k3mjtg9PnWLhCU
+QEAxOs00u73E5LqP+wNHdGStXHf4/1E7N/KY54w9AD0iGpNvyvMD9lbMvbeVvMHq
+MnRQgyXEnI62P6Uwd8rfifGkoZSjSK+iVnI11m466j8bBr+k/L0jPGxjcthE+jD5
+dqFnVFwWDM/gqUKI1OPiCVslL+b00K2HHo/PoP6wXT8i+qPf3a3mAtnL4lFbJOA=
+=5IDh
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/libdivecomputer/libdivecomputer-0.3.0.ebuild b/dev-libs/libdivecomputer/libdivecomputer-0.3.0.ebuild
new file mode 100644
index 000000000000..2f5e31042840
--- /dev/null
+++ b/dev-libs/libdivecomputer/libdivecomputer-0.3.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdivecomputer/libdivecomputer-0.3.0.ebuild,v 1.1 2013/03/28 18:32:41 tomwij Exp $
+
+EAPI="5"
+
+if [[ ${PV} = *9999* ]]; then
+ EGIT_REPO_URI="git://libdivecomputer.git.sourceforge.net/gitroot/libdivecomputer/libdivecomputer"
+ GIT_ECLASS="git-2"
+ AUTOTOOLIZE=yes
+fi
+
+inherit eutils autotools-utils ${GIT_ECLASS}
+
+if [[ ${PV} = *9999* ]]; then
+ SRC_URI=""
+else
+ SRC_URI="http://www.divesoftware.org/libdc/releases/${P}.tar.gz"
+fi
+
+DESCRIPTION="Library for communication with dive computers from various manufacturers."
+HOMEPAGE="http://www.divesoftware.org/libdc"
+LICENSE="LGPL-2.1"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="usb examples +static-libs"
+
+RDEPEND="usb? ( virtual/libusb )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+src_prepare() {
+ if [[ -n ${AUTOTOOLIZE} ]]; then
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ autotools-utils_src_configure
+
+ if use usb ; then
+ sed -i 's|#define HAVE_LIBUSB 1||' config.h || die "sed failed"
+ fi
+
+ if use examples ; then
+ sed -i 's|examples||' Makefile || die "sed failed"
+ fi
+}
+
+src_compile() {
+ autotools-utils_src_compile
+}
+
+src_install() {
+ autotools-utils_src_install
+}
diff --git a/dev-libs/libdivecomputer/metadata.xml b/dev-libs/libdivecomputer/metadata.xml
new file mode 100644
index 000000000000..da21cd8e1340
--- /dev/null
+++ b/dev-libs/libdivecomputer/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>bmangentoo@gmail.com</email>
+ <name>Aaron Bauman</name>
+ <description>Proxy maintainer. Assign bugs to him.</description>
+ </maintainer>
+ <maintainer>
+ <email>TomWij@gentoo.org</email>
+ <name>Tom Wijsman</name>
+ <description>Committer. CC bugs to him.</description>
+ </maintainer>
+ <longdescription lang="en">
+ Library for communication with dive computers from various manufacturers.
+ </longdescription>
+</pkgmetadata>