# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 inherit flag-o-matic DESCRIPTION="Obex object pusher for Linux" HOMEPAGE="http://xmailserver.org/ussp-push.html" SRC_URI="http://xmailserver.org/${P}.tar.gz" LICENSE="GPL" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" src_compile() { epatch ${FILESDIR}/ussp-push-0.4-install.patch || die "patch failed" emake || die "emake failed" } src_install() { emake prefix=/usr docdir=/usr/share/doc/${PF} DESTDIR=${D} install \ || die "emake install failed" } 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 README for details." einfo }