diff options
Diffstat (limited to 'dev-libs/libezV24/libezV24-0.1.1.ebuild')
-rw-r--r-- | dev-libs/libezV24/libezV24-0.1.1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/libezV24/libezV24-0.1.1.ebuild b/dev-libs/libezV24/libezV24-0.1.1.ebuild new file mode 100644 index 000000000000..7456be7e8b21 --- /dev/null +++ b/dev-libs/libezV24/libezV24-0.1.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="library that provides an easy API to Linux serial ports" +HOMEPAGE="http://ezv24.sourceforge.net" +SRC_URI="mirror://sourceforge/ezv24/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ppc sparc x86" +IUSE="" + +RDEPEND="" +DEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch + epatch "${FILESDIR}"/${P}-test.patch + sed -i -e 's:__LINUX__:__linux__:' *.c *.h +} + +src_compile() { + tc-export AR CC RANLIB + emake || die "emake failed." +} + +src_install() { + export NO_LDCONFIG="stupid" + emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" \ + install || die "emake install failed." + dodoc AUTHORS BUGS ChangeLog HISTORY README + dohtml api-html/* +} |