summaryrefslogtreecommitdiff
blob: 5e3781bf1ab4d1b4fd2a1075504b21e7b1571deb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

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
}