Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-pda/pilot-link/
Date: Sat, 02 Mar 2019 19:11:46
Message-Id: 1551553888.5da1866661dc11036c27ebb033283a9eda4616ab.pacho@gentoo
1 commit: 5da1866661dc11036c27ebb033283a9eda4616ab
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 2 11:41:03 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 2 19:11:28 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5da18666
7
8 app-pda/pilot-link: Drop old
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 app-pda/pilot-link/pilot-link-0.12.5-r1.ebuild | 109 -------------------------
14 1 file changed, 109 deletions(-)
15
16 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
17 deleted file mode 100644
18 index 87cf90a2b96..00000000000
19 --- a/app-pda/pilot-link/pilot-link-0.12.5-r1.ebuild
20 +++ /dev/null
21 @@ -1,109 +0,0 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=5
26 -
27 -PYTHON_COMPAT=( python2_7 )
28 -
29 -inherit autotools distutils-r1 eutils perl-module java-pkg-opt-2
30 -
31 -DESCRIPTION="suite of tools for moving data between a Palm device and a desktop"
32 -HOMEPAGE="http://www.pilot-link.org/"
33 -SRC_URI="http://pilot-link.org/source/${P}.tar.bz2
34 - https://dev.gentoo.org/~mgorny/dist/${P}-gentoo-patchset.tar.bz2"
35 -
36 -LICENSE="|| ( GPL-2 LGPL-2 )"
37 -SLOT="0"
38 -KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
39 -IUSE="bluetooth debug java perl png python readline static-libs threads usb"
40 -
41 -COMMON_DEPEND="dev-libs/popt
42 - >=sys-libs/ncurses-5.7-r7:0=
43 - virtual/libiconv
44 - bluetooth? ( net-wireless/bluez )
45 - perl? ( >=dev-lang/perl-5.12 )
46 - png? ( media-libs/libpng:0= )
47 - readline? ( >=sys-libs/readline-6:0= )
48 - usb? ( virtual/libusb:0 )"
49 -DEPEND="${COMMON_DEPEND}
50 - java? ( >=virtual/jdk-1.4 )"
51 -RDEPEND="${COMMON_DEPEND}
52 - java? ( >=virtual/jre-1.4 )"
53 -
54 -src_prepare() {
55 - epatch \
56 - "${WORKDIR}/${P}-gentoo-patchset"/${PN}-0.12.3-java-install.patch \
57 - "${WORKDIR}/${P}-gentoo-patchset"/${PN}-0.12.3-respect-javacflags.patch \
58 - "${WORKDIR}/${P}-gentoo-patchset"/${PN}-0.12.2-werror_194921.patch \
59 - "${WORKDIR}/${P}-gentoo-patchset"/${PN}-0.12.2-threads.patch \
60 - "${WORKDIR}/${P}-gentoo-patchset"/${PN}-0.12.3-{libpng14,png}.patch \
61 - "${WORKDIR}/${P}-gentoo-patchset"/${PN}-0.12.3-distutils.patch \
62 - "${WORKDIR}/${P}-gentoo-patchset"/${PN}-0.12.3-libusb-compat-usb_open.patch \
63 - "${WORKDIR}/${P}-gentoo-patchset"/${PN}-0.12.5-perl514.patch
64 -
65 - sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467600
66 -
67 - AT_M4DIR="m4" eautoreconf
68 -}
69 -
70 -src_configure() {
71 - # tcl/tk support is disabled as per upstream request.
72 - econf \
73 - --includedir="${EPREFIX}"/usr/include/libpisock \
74 - $(use_enable static-libs static) \
75 - --enable-conduits \
76 - $(use_enable threads) \
77 - $(use_enable usb libusb) \
78 - $(use_enable debug) \
79 - $(use_with png libpng) \
80 - $(use_with bluetooth bluez) \
81 - $(use_with readline) \
82 - $(use_with perl) \
83 - $(use_with java) \
84 - --without-tcl \
85 - $(use_with python)
86 -}
87 -
88 -src_compile() {
89 - emake
90 -
91 - if use perl; then
92 - cd "${S}"/bindings/Perl
93 - perl-module_src_configure
94 - local mymake=( OTHERLDFLAGS="${LDFLAGS} -L../../libpisock/.libs -lpisock" ) #308629
95 - perl-module_src_compile
96 - fi
97 -
98 - if use python; then
99 - cd "${S}"/bindings/Python
100 - distutils-r1_src_compile
101 - fi
102 -}
103 -
104 -src_install() {
105 - emake DESTDIR="${D}" install
106 - dodoc ChangeLog NEWS README doc/{README*,TODO}
107 -
108 - if use java; then
109 - cd "${S}"/bindings/Java
110 - java-pkg_newjar ${PN}.jar
111 - java-pkg_doso libjpisock.so
112 - fi
113 -
114 - if use perl; then
115 - cd "${S}"/bindings/Perl
116 - perl-module_src_install
117 - fi
118 -
119 - if use python; then
120 - cd "${S}"/bindings/Python
121 - distutils-r1_src_install
122 - fi
123 -
124 - find "${D}" -name '*.la' -exec rm -f {} +
125 -}
126 -
127 -pkg_preinst() {
128 - perl_set_version
129 - java-pkg-opt-2_pkg_preinst
130 -}