# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="A collection of C++ classes which allow the serial port on POSIX systems to be accessed like an iostream object."
HOMEPAGE="http://sourceforge.net/projects/libserial/"
SRC_URI="mirror://sourceforge/libserial/${P}.tar.gz"

LICENSE="GPL-2" 
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=""
RDEPEND=""

src_compile(){
	econf || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "install failed"
}