# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit linux-mod eutils DESCRIPTION="Allows to mount a pocketPC like a remote filesystem" HOMEPAGE="http://www.lvivier.info/SynceFS/" SRC_URI="mirror://sourceforge/syncefs/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=app-pda/synce-librapi2-0.10 >=app-pda/synce-libsynce-0.10 >=app-text/docbook-sgml-utils-0.6.14" CONFIG_CHECK="CODA_FS !CODA_FS_OLD_API" CODA_FS_ERROR="${P} requires kernel support for Coda to be found in filesystems, network filesystems" src_unpack() { unpack ${A} cd "${S}" if ! type -p docbook-to-man > /dev/null ; then sed -i 's:docbook-to-man:docbook2man:' docs/Makefile* fi } src_compile() { export LDFLAGS='-Wl,-z,now' econf || die "econf failed" emake || die "emake failed" } src_install() { emake -j1 DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS README NEWS ChangeLog dodir /sbin dosym ../usr/sbin/mount.cefs /sbin }