summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2013-03-28 18:43:32 +0000
committerTom Wijsman <tomwij@gentoo.org>2013-03-28 18:43:32 +0000
commitee69f90d3424cce72a22ae49cedb3ea185464475 (patch)
tree181e5374ccc14621fd63df91003600b756e4ae41 /dev-libs/libdivecomputer
parentNew ebuild for libdivecomputer, a library for communication with dive compute... (diff)
downloadhistorical-ee69f90d3424cce72a22ae49cedb3ea185464475.tar.gz
historical-ee69f90d3424cce72a22ae49cedb3ea185464475.tar.bz2
historical-ee69f90d3424cce72a22ae49cedb3ea185464475.zip
Added live ebuild for testing purposes.
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/ChangeLog7
-rw-r--r--dev-libs/libdivecomputer/Manifest17
-rw-r--r--dev-libs/libdivecomputer/libdivecomputer-9999.ebuild59
3 files changed, 74 insertions, 9 deletions
diff --git a/dev-libs/libdivecomputer/ChangeLog b/dev-libs/libdivecomputer/ChangeLog
index d51818e28307..1dc91202274d 100644
--- a/dev-libs/libdivecomputer/ChangeLog
+++ b/dev-libs/libdivecomputer/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libdivecomputer
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdivecomputer/ChangeLog,v 1.1 2013/03/28 18:32:41 tomwij Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdivecomputer/ChangeLog,v 1.2 2013/03/28 18:43:29 tomwij Exp $
+
+*libdivecomputer-9999 (28 Mar 2013)
+
+ 28 Mar 2013; Tom Wijsman <TomWij@gentoo.org> +libdivecomputer-9999.ebuild:
+ Added live ebuild for testing purposes.
*libdivecomputer-0.3.0 (28 Mar 2013)
diff --git a/dev-libs/libdivecomputer/Manifest b/dev-libs/libdivecomputer/Manifest
index c08eb5ab102a..67045f8b6f95 100644
--- a/dev-libs/libdivecomputer/Manifest
+++ b/dev-libs/libdivecomputer/Manifest
@@ -3,16 +3,17 @@ Hash: SHA256
DIST libdivecomputer-0.3.0.tar.gz 473927 SHA256 84a496dab7d6e5e88bcf197015e5fc3b568492545cb0b55b9007e13f5820a5c0 SHA512 8dd92aad735ad53f642e3e16e922108b842d13053a79617652424e26f030320117f12cb8184f8605cb0aa3c16430c28de9d39dc73e94a87b49dff7d05f177003 WHIRLPOOL 805bf22d38fa2c212d63b2a6c8826b522447b3933cb52bd39776f1565e9f984c7752de8e4c54878b7fb7273d7c2488fdf8c90dd1f400ab398b7fc82df6ceb577
EBUILD libdivecomputer-0.3.0.ebuild 1291 SHA256 328a38217ca1927d63e5ca9be2d1674a5f30a279ac0ceb06951479a306c2636d SHA512 cb241e1f677f4aa1d0c204ddf3b24b01458bd923b5a66df3a688b080265f364d1356512d1d25942e6cfb99b44ea0f8073df31731ef44935559dbdcf194abd664 WHIRLPOOL 61cd715d4d4148d1d9b0d5596946558877391104653a3edcf4c484289135d85122f39c5b05167aa6ecf668188ae0cd5b05d0600e82f522da41b92651b70b05f3
-MISC ChangeLog 571 SHA256 4c9ec0bda812b11bdd165ac13d6374b0823569cd63699c1fa3be01b5c5489372 SHA512 aa995f66f858c9a0d5de4be80d1765f501624a810a30cf396362ce7d9e5dfc4ca75026ec971c9d34b94a612eb0cd13f471b691c5bd9158c0387f8d9c649b9b04 WHIRLPOOL b91cb450c3156ac5e5f308babef4b6d935a2d9ff2455ff52eb5943ff14409299c7e75ebab73654f60820e42647111b33b064bcf4e7735b3267c5cae78a3bb164
+EBUILD libdivecomputer-9999.ebuild 1279 SHA256 fc518b80c4b8d02ff7e9cba81c3de6ff9783d67cd84d0cab0a579dcd745871cd SHA512 b5c4616e62a16df1227950c3b7a41603c6bacf7fb893e0bb73c52ef0f6267bfbb66a5873894656a6db4ea3405ea37a5559a7b74b3db6ea2e705d12aa32128956 WHIRLPOOL a0fa127d582be174290bae7e58535847dd677dd99f1eab304fa7bde6be38eac9271a5e97156ea374e1b5c61cc5a05bcb36c29ec99625bfd251de20a3b3031c52
+MISC ChangeLog 728 SHA256 d6cd2e3d73bb62a0e753c8749a4f09588a9b0b2aa1b1f53bdfc192b786071d1a SHA512 26e00acb255707c908d579c01c2b7952a48ef921e7f0acb44c4ec77751fa99f2d6d16164457d0d360f9a5daef4045e48d17b29c9b1171472415fbbfb38fa348d WHIRLPOOL 38e9dbeb6d107010919808f965c92496ed3b851b111dc0626e7b5b740990b075c07cfd795c4d8e2e80304b3fb8cd9e81f05f9c47057c674a1252d9e801de2f65
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
+iQEcBAEBCAAGBQJRVI8vAAoJEJWyH81tNOV9IOsIAKb+XFogfZnY0QizZcI2kDue
+k1TJJIQjk42sQdk8sLgNmcszUdSfxnV3mLngD3+dgBex+Hl/6+ohrtT2jUifUEuI
+WXBptOxUpwu2vvwN1Jse1eJW+6mAL0jrXCU5ZxtK8nk8KFoDuV+5TpAGreqVDB+J
+IhmlTc+0H7oWIfwXkWhUN7yablIFJNsP3517w4ZNC2nH+z1IPZVVRXb6evp30ei3
++ofqVLRfIEV/I56TgK5splJ6kyZB+e6JAIms5T3xi9j5DUoZOew6joaa1PYmqRYR
+1jMzlpmOHTS6HAsziYqfC1NR9FmOcPOmD9ovvrxo27N9dYpiX/+IKF7CJcB7+Hs=
+=AdLC
-----END PGP SIGNATURE-----
diff --git a/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild b/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild
new file mode 100644
index 000000000000..9bcd39cbb14c
--- /dev/null
+++ b/dev-libs/libdivecomputer/libdivecomputer-9999.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-9999.ebuild,v 1.1 2013/03/28 18:43:29 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=""
+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
+}