summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2014-07-16 15:08:58 +0000
committerMichael Palimaka <kensington@gentoo.org>2014-07-16 15:08:58 +0000
commit161ea46788e25da3dfa17d6ebbe53740138d6c59 (patch)
tree60aa91439c0dbeb4e15636aa666772d88ae66fb3 /sci-libs
parentbuild shared libs wrt #517244, add static-libs USE flag (diff)
downloadgentoo-2-161ea46788e25da3dfa17d6ebbe53740138d6c59.tar.gz
gentoo-2-161ea46788e25da3dfa17d6ebbe53740138d6c59.tar.bz2
gentoo-2-161ea46788e25da3dfa17d6ebbe53740138d6c59.zip
Version bump.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/indilib/ChangeLog8
-rw-r--r--sci-libs/indilib/files/indilib-0.9.8.1-symlinks.patch22
-rw-r--r--sci-libs/indilib/indilib-0.9.8.1.ebuild46
3 files changed, 75 insertions, 1 deletions
diff --git a/sci-libs/indilib/ChangeLog b/sci-libs/indilib/ChangeLog
index 387e637d15ea..65b2552488ea 100644
--- a/sci-libs/indilib/ChangeLog
+++ b/sci-libs/indilib/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/indilib
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/indilib/ChangeLog,v 1.41 2014/03/14 10:22:53 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/indilib/ChangeLog,v 1.42 2014/07/16 15:08:58 kensington Exp $
+
+*indilib-0.9.8.1 (16 Jul 2014)
+
+ 16 Jul 2014; Michael Palimaka <kensington@gentoo.org>
+ +files/indilib-0.9.8.1-symlinks.patch, +indilib-0.9.8.1.ebuild:
+ Version bump.
14 Mar 2014; Johannes Huber <johu@gentoo.org> -indilib-0.9.6.ebuild:
Remove old.
diff --git a/sci-libs/indilib/files/indilib-0.9.8.1-symlinks.patch b/sci-libs/indilib/files/indilib-0.9.8.1-symlinks.patch
new file mode 100644
index 000000000000..51d3223ebf54
--- /dev/null
+++ b/sci-libs/indilib/files/indilib-0.9.8.1-symlinks.patch
@@ -0,0 +1,22 @@
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -242,14 +242,11 @@
+
+ install(TARGETS indi_lx200generic RUNTIME DESTINATION bin )
+
+-file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/make_lx200generic_symlink.cmake
+-"exec_program(\"${CMAKE_COMMAND}\" ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic \$ENV{DESTDIR}${BIN_INSTALL_DIR}/indi_lx200classic)\n
+-exec_program(\"${CMAKE_COMMAND}\" ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic \$ENV{DESTDIR}${BIN_INSTALL_DIR}/indi_lx200autostar)\n
+-exec_program(\"${CMAKE_COMMAND}\" ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic \$ENV{DESTDIR}${BIN_INSTALL_DIR}/indi_lx200_16)\n
+-exec_program(\"${CMAKE_COMMAND}\" ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic \$ENV{DESTDIR}${BIN_INSTALL_DIR}/indi_lx200gps)\n
+-exec_program(\"${CMAKE_COMMAND}\" ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic \$ENV{DESTDIR}${BIN_INSTALL_DIR}/indi_lx200ap)\n
+-")
+-set_target_properties(indi_lx200generic PROPERTIES POST_INSTALL_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/make_lx200generic_symlink.cmake)
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}/${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200classic\" )" )
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}/${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200autostar\" )" )
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}/${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200_16\" )" )
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}/${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx20gps\" )" )
++install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}/${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200ap\" )" )
+ #################################################################################
+
+ ########### LX200 Generic Legacy ###########
diff --git a/sci-libs/indilib/indilib-0.9.8.1.ebuild b/sci-libs/indilib/indilib-0.9.8.1.ebuild
new file mode 100644
index 000000000000..d506a293ebd2
--- /dev/null
+++ b/sci-libs/indilib/indilib-0.9.8.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/indilib/indilib-0.9.8.1.ebuild,v 1.1 2014/07/16 15:08:58 kensington Exp $
+
+EAPI=5
+
+MY_PN="lib${PN/lib/}"
+
+inherit cmake-utils udev
+
+DESCRIPTION="INDI Astronomical Control Protocol library"
+HOMEPAGE="http://www.indilib.org/"
+SRC_URI="mirror://sourceforge/${PN/lib/}/${MY_PN}_${PV}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="
+ sci-libs/cfitsio
+ sci-libs/libnova
+ sci-libs/gsl
+ sys-libs/zlib
+ virtual/jpeg:0
+ virtual/libusb:0
+"
+DEPEND="${RDEPEND}
+ sys-kernel/linux-headers
+"
+
+DOCS=( AUTHORS ChangeLog README TODO )
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.9.8.1-symlinks.patch"
+)
+
+S=${WORKDIR}/${MY_PN}-${PV%.*}
+
+src_configure() {
+ local mycmakeargs=(
+ -DUDEVRULES_INSTALL_DIR=$(get_udevdir)
+ )
+
+ cmake-utils_src_configure
+}