# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ inherit eutils DESCRIPTION="small implementation of Obex for phones using the DCU-11 USB-to-serial adapter" HOMEPAGE="http://cobex.sourceforge.net/" SRC_URI="mirror://sourceforge/cobex/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" IUSE="" DEPEND="dev-libs/libezV24 dev-libs/expat" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-build.patch local f for f in get ls mkdir put rm ; do mv ${f}.c cobex_${f}.c || die ; done } src_install() { dobin cobex_{ls,mkdir,put,rm} || die dodoc Changelog README Things_to_know_T310.txt }