# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit libtool autotools subversion ESVN_REPO_URI="https://libserial.svn.sourceforge.net/svnroot/libserial/trunk" SRC_URI="" HOMEPAGE="http://sourceforge.net/projects/libserial/" DESCRIPTION="A collection of C++ classes which allow the serial port on POSIX systems to be accessed like an iostream object." KEYWORDS="~x86 ~amd64" LICENSE="GPL-2" SLOT="0" RDEPEND="dev-python/sip" DEPEND="${RDEPEND}" src_unpack() { subversion_src_unpack epatch ${FILESDIR}/libserial-9999-gcc43.patch eautoreconf } src_compile(){ econf || die "econf failed" emake || die "make failed" } src_install() { emake DESTDIR=${D} install }