blob: f0527e7f6ed5dad55f3cc0e6a62469e927d289d6 (
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-2012 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.5 2012/05/25 08:17:23 ssuominen 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="=virtual/libusb-0*"
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
}
|