# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/luise-bin/luise-bin-0.1.1.ebuild,v 1.1 2007/06/02 21:09:51 rbu Exp $ inherit multilib MY_PN="LUIse" DESCRIPTION="Programming interface for the Wallbraun LCD-USB-Interface" HOMEPAGE="http://wallbraun-electronics.de/downloadssite/" SRC_URI="http://www.wallbraun-electronics.de/downloads/${MY_PN}_${PV}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="-* ~amd64 ~x86" IUSE="doc examples" DEPEND="dev-libs/libusb" RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_PN}_${PV}" src_install() { if use x86 ; then insinto /usr/include doins 32bit/luise.h dolib.so 32bit/libluise.so.0.1.1 fi if use amd64 ; then insinto /usr/include doins 64bit/luise.h newlib.so 64bit/libluise_64.so.0.1.1 libluise.so.0.1.1 fi dosym /usr/$(get_libdir)/libluise.so{.0.1.1,} newdoc doc/readme README use doc && dodoc doc/docu_luise011_Linux.pdf if use examples ; then docinto examples dodoc samples/luise-test/* fi }