summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--app-pda/pilot-link/Manifest12
-rw-r--r--app-pda/pilot-link/files/digest-pilot-link-0.12.23
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.2-build.patch89
-rw-r--r--app-pda/pilot-link/pilot-link-0.12.2.ebuild70
4 files changed, 174 insertions, 0 deletions
diff --git a/app-pda/pilot-link/Manifest b/app-pda/pilot-link/Manifest
new file mode 100644
index 0000000..f96e0ce
--- a/dev/null
+++ b/app-pda/pilot-link/Manifest
@@ -0,0 +1,12 @@
1AUX pilot-link-0.12.2-build.patch 2809 RMD160 90af4c4f176d3df99cf5210ed4f7749dc458fd02 SHA1 36c4f331a91c966e1214a906a78614dfa2c78fd9 SHA256 5aed1036114e73cf982aab125d0e2ba6047a67e598d4b0af2808ffb15814f637
2MD5 cda93589fe3e5e64b172fac94137ba76 files/pilot-link-0.12.2-build.patch 2809
3RMD160 90af4c4f176d3df99cf5210ed4f7749dc458fd02 files/pilot-link-0.12.2-build.patch 2809
4SHA256 5aed1036114e73cf982aab125d0e2ba6047a67e598d4b0af2808ffb15814f637 files/pilot-link-0.12.2-build.patch 2809
5DIST pilot-link-0.12.2.tar.bz2 964014 RMD160 3ae19f16b28c33cccb19fa218cdad4353d479875 SHA1 29a2b355ad8b0680e655c7e1ffa1ebef1b2ad5d9 SHA256 809df99a97aae215f93c1a0863644c0d3411462a5bac2d16d4d8941ce9c6d150
6EBUILD pilot-link-0.12.2.ebuild 1690 RMD160 867a8d3d340594d7f918dcce2a064dcf0793d14a SHA1 40fb778e62606e88cb7681e69adcefdd8a9da5df SHA256 5c6ae2364a66e25f639affa5a35500cc47f23e13fc19ab3e1c439e6a4bf30f66
7MD5 9210106d711d2db30de66772d2cd055c pilot-link-0.12.2.ebuild 1690
8RMD160 867a8d3d340594d7f918dcce2a064dcf0793d14a pilot-link-0.12.2.ebuild 1690
9SHA256 5c6ae2364a66e25f639affa5a35500cc47f23e13fc19ab3e1c439e6a4bf30f66 pilot-link-0.12.2.ebuild 1690
10MD5 2d3563e047f94fe8adc2d327ff046b32 files/digest-pilot-link-0.12.2 256
11RMD160 1c7ca253534c3a18eba1c760b3bd71a143fafc23 files/digest-pilot-link-0.12.2 256
12SHA256 8e247afc68e1f741adcff994523248987e858ee23c07b3887ae03cb62d095ace files/digest-pilot-link-0.12.2 256
diff --git a/app-pda/pilot-link/files/digest-pilot-link-0.12.2 b/app-pda/pilot-link/files/digest-pilot-link-0.12.2
new file mode 100644
index 0000000..a009738
--- a/dev/null
+++ b/app-pda/pilot-link/files/digest-pilot-link-0.12.2
@@ -0,0 +1,3 @@
1MD5 c1f4db8f32a2ee916fedb9a2dac8aa26 pilot-link-0.12.2.tar.bz2 964014
2RMD160 3ae19f16b28c33cccb19fa218cdad4353d479875 pilot-link-0.12.2.tar.bz2 964014
3SHA256 809df99a97aae215f93c1a0863644c0d3411462a5bac2d16d4d8941ce9c6d150 pilot-link-0.12.2.tar.bz2 964014
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.2-build.patch b/app-pda/pilot-link/files/pilot-link-0.12.2-build.patch
new file mode 100644
index 0000000..6d2c67d
--- a/dev/null
+++ b/app-pda/pilot-link/files/pilot-link-0.12.2-build.patch
@@ -0,0 +1,89 @@
1diff --git a/bindings/Java/Makefile.am b/bindings/Java/Makefile.am
2index a2ead24..1500dcd 100644
3--- a/bindings/Java/Makefile.am
4+++ b/bindings/Java/Makefile.am
5@@ -67,6 +67,8 @@ java_classes= \
6 datebooktst.class\
7 adrtest.class
8
9+$(java_classes): java_compile
10+
11 java_compile: $(java_files)
12 $(JAVAC) -d . $(java_files)
13
14@@ -81,16 +83,16 @@ java_pisock: java_compile java_lib java_jar
15 install: all
16 ARCH=""; \
17 for a in i386 amd64 ppc; do \
18 - if [ -e ${JAVABASE}/jre/lib/${a} ]; then \
19 - ARCH="${a}"; \
20 + if [ -e ${JAVABASE}/jre/lib/$${a} ]; then \
21 + ARCH="$${a}"; \
22 break; \
23 fi; \
24 done; \
25 -if [ -n "${ARCH}" ]; then \
26 +if [ -n "$${ARCH}" ]; then \
27 echo "Unknown architecture. Copy lipijsock.so to ${JAVABASE}/jre/lib/ARCH/"; \
28 else \
29 - mkdir -p "$(DESTDIR)${JAVABASE}/jre/lib/${ARCH}" && \
30 - cp libjpisock.so "$(DESTDIR)${JAVABASE}/jre/lib/${ARCH}"; \
31 + mkdir -p "$(DESTDIR)${JAVABASE}/jre/lib/$${ARCH}" && \
32 + cp libjpisock.so "$(DESTDIR)${JAVABASE}/jre/lib/$${ARCH}"; \
33 echo "done."; \
34 fi
35
36diff --git a/configure.ac b/configure.ac
37index 68a05f2..4da0626 100644
38--- a/configure.ac
39+++ b/configure.ac
40@@ -220,6 +220,7 @@ AC_MSG_RESULT($enable_conduits)
41 dnl ******************************
42 dnl PNG Support
43 dnl ******************************
44+msg_png=no
45 if test "x$enable_conduits" != "xno"; then
46 have_png=no
47
48@@ -254,6 +255,7 @@ if test "x$enable_conduits" != "xno"; then
49 if test "$have_png" = yes; then
50 AC_DEFINE(HAVE_PNG, 1, [Define if we have PNG support])
51 have_png=yes
52 + msg_png=yes
53 fi
54 fi
55 fi
56@@ -351,12 +353,13 @@ PKG_CHECK_MODULES(BLUEZ, bluez, have_bluez=yes, AC_MSG_RESULT(no))
57 AC_MSG_CHECKING([for BlueZ bluetooth support])
58 AC_ARG_WITH(bluez,
59 AC_HELP_STRING([--with-bluez],
60- [Enable usage of BlueZ]),,
61+ [Enable usage of BlueZ]),[use_bluez="$withval"],
62 use_bluez=auto)
63 if test "x$use_bluez" != "xno"; then
64 if test "x$have_bluez" = xno && test "x$use_bluez" = xyes; then
65 AC_MSG_ERROR([BlueZ explicitly requested but no support found])
66 fi
67 +use_bluez="$have_bluez"
68 if test "x$have_bluez" = xyes; then
69 AC_DEFINE(HAVE_BLUEZ, 1, [Define if we have BlueZ bluetooth support])
70 AC_MSG_RESULT([enabled])
71@@ -366,7 +369,7 @@ if test "x$use_bluez" != "xno"; then
72 fi
73 fi
74
75-AM_CONDITIONAL(WITH_BLUEZ, test x$have_bluez = "xyes")
76+AM_CONDITIONAL(WITH_BLUEZ, test x$use_bluez != "xno")
77
78
79 dnl *********************************
80diff --git a/pilot-link.m4 b/pilot-link.m4
81index 129dfc3..a271c74 100644
82--- a/pilot-link.m4
83+++ b/pilot-link.m4
84@@ -1,5 +1,3 @@
85-AC_DEFUN([IT_PROG_INTLTOOL], [AC_PREREQ([2.50])dnl
86-
87 AC_DEFUN([AC_PILOT_LINK_HOOK],
88 [
89 PILOT_LINK_VERS=0
diff --git a/app-pda/pilot-link/pilot-link-0.12.2.ebuild b/app-pda/pilot-link/pilot-link-0.12.2.ebuild
new file mode 100644
index 0000000..9c38cb4
--- a/dev/null
+++ b/app-pda/pilot-link/pilot-link-0.12.2.ebuild
@@ -0,0 +1,70 @@
1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $Header: $
4
5WANT_AUTOCONF="latest"
6WANT_AUTOMAKE="1.9"
7inherit perl-module eutils autotools toolchain-funcs
8
9DESCRIPTION="suite of tools for moving data between a Palm device and a desktop"
10HOMEPAGE="http://www.pilot-link.org/"
11SRC_URI="http://pilot-link.org/source/${P}.tar.bz2"
12
13LICENSE="|| ( GPL-2 LGPL-2 )"
14SLOT="0"
15KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
16IUSE="threads usb png bluetooth readline perl java tcl python"
17
18RDEPEND="virtual/libc
19 sys-libs/ncurses
20 usb? ( dev-libs/libusb )
21 png? ( media-libs/libpng )
22 bluetooth? ( net-wireless/bluez-libs )
23 readline? ( sys-libs/readline )
24 perl? ( dev-lang/perl )
25 java? ( virtual/jre )
26 tcl? ( dev-lang/tcl dev-lang/tk )
27 python? ( dev-lang/python )
28 "
29DEPEND="${RDEPEND}
30 java? ( virtual/jdk )
31 "
32
33src_unpack() {
34 unpack ${A}
35 cd "${S}"
36 epatch "${FILESDIR}/${P}-build.patch"
37 eautoconf
38 eautomake
39}
40
41src_compile() {
42 econf \
43 --includedir=/usr/include/libpisock \
44 --enable-conduits \
45 $(use_enable threads) $(use_enable usb libusb) \
46 $(use_with png libpng $(libpng-config --prefix)) \
47 $(use_with bluetooth bluez) \
48 $(use_with readline) $(use_with perl) $(use_with java) \
49 $(use_with tcl tcl /usr/$(get_libdir)) \
50 $(use_with python) \
51 || die "econf failed"
52 emake || die "emake failed"
53
54 if use perl ; then
55 cd "${S}/bindings/Perl"
56 perl-module_src_prep
57 perl-module_src_compile
58 fi
59}
60
61src_install() {
62 emake DESTDIR="${D}" install || die "emake install failed"
63
64 dodoc ChangeLog README doc/README* doc/TODO NEWS AUTHORS
65
66 if use perl ; then
67 cd "${S}/bindings/Perl"
68 perl-module_src_install
69 fi
70}