diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-09-10 09:23:57 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-09-10 09:23:57 +0000 |
commit | 3b21a44ddc858aba59fbeadec4d6ed5e8b4f7101 (patch) | |
tree | a8e48acd62b2bcd57ebc934b1e020437c6cab2c7 /app-pda/pilot-link | |
parent | Add new enough coreutils dep wrt bug #484454. (diff) | |
download | gentoo-2-3b21a44ddc858aba59fbeadec4d6ed5e8b4f7101.tar.gz gentoo-2-3b21a44ddc858aba59fbeadec4d6ed5e8b4f7101.tar.bz2 gentoo-2-3b21a44ddc858aba59fbeadec4d6ed5e8b4f7101.zip |
revbump -> EAPI5, distutils-r1
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'app-pda/pilot-link')
-rw-r--r-- | app-pda/pilot-link/ChangeLog | 9 | ||||
-rw-r--r-- | app-pda/pilot-link/pilot-link-0.12.5-r1.ebuild | 107 |
2 files changed, 114 insertions, 2 deletions
diff --git a/app-pda/pilot-link/ChangeLog b/app-pda/pilot-link/ChangeLog index fa25faebbf9f..6bf9c0377801 100644 --- a/app-pda/pilot-link/ChangeLog +++ b/app-pda/pilot-link/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-pda/pilot-link -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/ChangeLog,v 1.74 2012/08/29 03:20:32 blueness Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/ChangeLog,v 1.75 2013/09/10 09:23:57 idella4 Exp $ + +*pilot-link-0.12.5-r1 (10 Sep 2013) + + 10 Sep 2013; Ian Delaney <idella4@gentoo.org> +pilot-link-0.12.5-r1.ebuild: + revbump -> EAPI5, distutils-r1 29 Aug 2012; Anthony G. Basile <blueness@gentoo.org> pilot-link-0.12.5.ebuild: diff --git a/app-pda/pilot-link/pilot-link-0.12.5-r1.ebuild b/app-pda/pilot-link/pilot-link-0.12.5-r1.ebuild new file mode 100644 index 000000000000..a48afae10f55 --- /dev/null +++ b/app-pda/pilot-link/pilot-link-0.12.5-r1.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/pilot-link-0.12.5-r1.ebuild,v 1.1 2013/09/10 09:23:57 idella4 Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit autotools distutils-r1 eutils perl-module java-pkg-opt-2 + +DESCRIPTION="suite of tools for moving data between a Palm device and a desktop" +HOMEPAGE="http://www.pilot-link.org/" +SRC_URI="http://pilot-link.org/source/${P}.tar.bz2" + +LICENSE="|| ( GPL-2 LGPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="bluetooth debug java perl png python readline static-libs threads usb" + +COMMON_DEPEND="dev-libs/popt + >=sys-libs/ncurses-5.7-r7 + virtual/libiconv + bluetooth? ( net-wireless/bluez ) + perl? ( >=dev-lang/perl-5.12 ) + png? ( media-libs/libpng:0 ) + readline? ( >=sys-libs/readline-6 ) + usb? ( virtual/libusb:0 )" +DEPEND="${COMMON_DEPEND} + java? ( >=virtual/jdk-1.4 )" +RDEPEND="${COMMON_DEPEND} + java? ( >=virtual/jre-1.4 )" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-0.12.3-java-install.patch \ + "${FILESDIR}"/${PN}-0.12.3-respect-javacflags.patch \ + "${FILESDIR}"/${PN}-0.12.2-werror_194921.patch \ + "${FILESDIR}"/${PN}-0.12.2-threads.patch \ + "${FILESDIR}"/${PN}-0.12.3-{libpng14,png}.patch \ + "${FILESDIR}"/${PN}-0.12.3-distutils.patch \ + "${FILESDIR}"/${PN}-0.12.3-libusb-compat-usb_open.patch \ + "${FILESDIR}"/${PN}-0.12.5-perl514.patch + + AT_M4DIR="m4" eautoreconf +} + +src_configure() { + # tcl/tk support is disabled as per upstream request. + econf \ + --includedir="${EPREFIX}"/usr/include/libpisock \ + $(use_enable static-libs static) \ + --enable-conduits \ + $(use_enable threads) \ + $(use_enable usb libusb) \ + $(use_enable debug) \ + $(use_with png libpng) \ + $(use_with bluetooth bluez) \ + $(use_with readline) \ + $(use_with perl) \ + $(use_with java) \ + --without-tcl \ + $(use_with python) +} + +src_compile() { + emake + + if use perl; then + cd "${S}"/bindings/Perl + perl-module_src_prep + local mymake=( OTHERLDFLAGS="${LDFLAGS} -L../../libpisock/.libs -lpisock" ) #308629 + perl-module_src_compile + fi + + if use python; then + cd "${S}"/bindings/Python + distutils-r1_src_compile + fi +} + +src_install() { + emake DESTDIR="${D}" install + dodoc ChangeLog NEWS README doc/{README*,TODO} + + if use java; then + cd "${S}"/bindings/Java + java-pkg_newjar ${PN}.jar + java-pkg_doso libjpisock.so + fi + + if use perl; then + cd "${S}"/bindings/Perl + perl-module_src_install + fi + + if use python; then + cd "${S}"/bindings/Python + distutils-r1_src_install + fi + + find "${D}" -name '*.la' -exec rm -f {} + +} + +pkg_preinst() { + perl-module_pkg_preinst + java-pkg-opt-2_pkg_preinst +} |