blob: 45cbfb0ab68a71953516df4764c7f8a336d53dc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# 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.3 2007/08/11 15:55:40 beandog 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
}
|