# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-wireless/ussp-push/ussp-push-0.5.ebuild,v 1.3 2009/05/16 00:36:09 halcy0n Exp $ inherit toolchain-funcs DESCRIPTION="OBEX object push client for Linux" HOMEPAGE="http://www.xmailserver.org/ussp-push.html" SRC_URI="http://www.xmailserver.org/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc x86" IUSE="" DEPEND="net-wireless/bluez-libs dev-libs/openobex =dev-libs/glib-1.2*" src_unpack(){ unpack ${A} sed -i \ -e "s:/local::" \ -e "s:gcc:$(tc-getCC):" \ -e "s:^CFLAGS=.*:& ${CFLAGS}:" \ ${S}/Makefile } src_install() { dobin ${PN} dodoc doc/README dohtml doc/*.html } pkg_postinst() { einfo einfo "You can use ussp-push in two ways: " einfo "1. rfcomm bind /dev/rcomm0 00:11:22:33:44:55 10" einfo " ussp-push /dev/rfcomm0 localfile remotefile" einfo "2. ussp-push \"BTDeviceName\"@10 localfile remotefile" einfo einfo "See the README in /usr/share/doc/${PF}/ for more details." einfo }