Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202383 - app-pda/pilot-link-0.12.3 version bump
Summary: app-pda/pilot-link-0.12.3 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo PDA project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-15 13:44 UTC by Ben Tyger
Modified: 2007-12-19 22:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Tyger 2007-12-15 13:44:51 UTC
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

WANT_AUTOCONF="latest"
WANT_AUTOMAKE="1.9"
inherit perl-module eutils autotools toolchain-funcs

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 ~ia64 ~ppc ~sparc ~x86"
IUSE="threads usb png bluetooth readline perl java tcl python"

RDEPEND="virtual/libc
        sys-libs/ncurses
        usb? ( dev-libs/libusb )
        png? ( media-libs/libpng )
        bluetooth? ( net-wireless/bluez-libs )
        readline? ( sys-libs/readline )
        perl? ( dev-lang/perl )
        java? ( virtual/jre )
        tcl? ( dev-lang/tcl dev-lang/tk )
        python? ( dev-lang/python )
        "
DEPEND="${RDEPEND}
        java? ( virtual/jdk )
        "

src_unpack() {
        unpack ${A}
        cd "${S}"
        eautoconf
        eautomake
}

src_compile() {
        econf \
                --includedir=/usr/include/libpisock \
                --enable-conduits \
                $(use_enable threads) $(use_enable usb libusb) \
                $(use_with png libpng $(libpng-config --prefix)) \
                $(use_with bluetooth bluez) \
                $(use_with readline) $(use_with perl) $(use_with java) \
                $(use_with tcl tcl /usr/$(get_libdir)) \
                $(use_with python) \
                || die "econf failed"
        emake || die "emake failed"

        if use perl ; then
                cd "${S}/bindings/Perl"
                perl-module_src_prep
                perl-module_src_compile
        fi
}

src_install() {
        emake DESTDIR="${D}" install || die "emake install failed"

        dodoc ChangeLog README doc/README* doc/TODO NEWS AUTHORS

        if use perl ; then
                cd "${S}/bindings/Perl"
                perl-module_src_install
        fi
}


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-15 13:52:21 UTC
Please don't paste ebuilds inline, plus if you changes something, then attach a unified diff instead. Thanks.
Comment 2 Wulf Krueger (RETIRED) gentoo-dev 2007-12-19 22:33:23 UTC
Fixed in CVS.