Together with a doc patch to make it build.
AARGH! Bugzilla won't let me upload a file! Anyway, here's the ebuild: klippie app-pda # cat coldsync/coldsync-3.0_pre4.ebuild # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 DESCRIPTION="A command-line tool to synchronize PalmOS PDAs with Unix workstations" MY_PV=${PV/_/-} SRC_URI="http://www.coldsync.org/download/coldsync-${MY_PV}.tar.gz" HOMEPAGE="http://www.coldsync.org/" SLOT="0" LICENSE="Artistic" KEYWORDS="x86" IUSE="nls perl" DEPEND=">=dev-libs/libusb-0.1.10a" # Well, it worked once I got this S=${WORKDIR}/${PN}-${MY_PV} src_compile() { cd ${S} local myconf use nls || myconf="${myconf} --without-i18n" use perl || myconf="${myconf} --without-perl" patch -p1 < ${FILESDIR}/coldsync-3.0-pre4--fix-doc-Makefile.diff econf ${myconf} || die "configuring coldsync failed" make || die "couldn't make coldsync" } src_install() { make \ PREFIX=${D}/usr \ MANDIR=${D}/usr/share/man \ SYSCONFDIR=${D}/etc \ DATADIR=${D}/usr/share \ INFODIR=${D}/usr/share/info \ INSTALLMAN3DIR=${D}/usr/share/man/man3 \ INSTALLSITEMAN3DIR=${D}/usr/share/man/man3 \ INSTALLVENDORMAN3DIR=${D}/usr/share/man/man3 \ install || die "couldn't install coldsync" dodoc AUTHORS Artistic ChangeLog HACKING INSTALL NEWS README TODO }
Here's the patch: klippie app-pda # cat coldsync/files/coldsync-3.0-pre4--fix-doc-Makefile.diff --- coldsync-3.0-pre4/doc/Makefile-orig 2005-10-13 00:09:07.000000000 +0200 +++ coldsync-3.0-pre4/doc/Makefile 2005-10-13 00:09:15.000000000 +0200 @@ -12,7 +12,7 @@ # are no existing foo.info-* files, /bin/sh just expands the glob to the # string "foo.info-*". Then 'make' complains that it doesn't know how to # build this file. -EXTRA_INFOFILES = ${TEXIFILES:.texi=.info-*} +EXTRA_INFOFILES = "" DVIFILES = ${TEXIFILES:.texi=.dvi} PSFILES = ${TEXIFILES:.texi=.ps} PDFFILES = ${TEXIFILES:.texi=.pdf} @@ -124,7 +124,7 @@ -${MKDIR} ${SYSCONFDIR} ${INSTALL_DATA} sample.coldsync.rc ${SYSCONFDIR}/sample.coldsync.rc ${MKDIR} ${INFODIR} - @for file in ${INFOFILES} ${EXTRA_INFOFILES}; do \ + @for file in ${INFOFILES} ; do \ echo "${INSTALL_DATA} $${file} ${INFODIR}/$${file}"; \ ${INSTALL_DATA} $${file} ${INFODIR}/$${file}; \ done
I've put 3.0_pre4 in the tree now. I took a different route from your submission however, one that worked better for all cases, and avoided needing to patch at all.