/[gentoo-x86]/dev-libs/luise-bin/luise-bin-0.1.1.ebuild
Gentoo

Contents of /dev-libs/luise-bin/luise-bin-0.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri May 25 08:17:23 2012 UTC (2 years, 3 months ago) by ssuominen
Branch: MAIN
Changes since 1.4: +2 -2 lines
Restrict virtual/libusb to SLOT="0" because this precompiled package is linked against libusb-0.1.so.4.

(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/luise-bin/luise-bin-0.1.1.ebuild,v 1.4 2012/05/22 16:38:18 ssuominen Exp $
4
5 inherit multilib
6
7 MY_PN="LUIse"
8
9 DESCRIPTION="Programming interface for the Wallbraun LCD-USB-Interface"
10 HOMEPAGE="http://wallbraun-electronics.de/downloadssite/"
11 SRC_URI="http://www.wallbraun-electronics.de/downloads/${MY_PN}_${PV}.tar.gz"
12
13 LICENSE="as-is"
14 SLOT="0"
15 KEYWORDS="-* amd64 x86"
16 IUSE="doc examples"
17
18 DEPEND="=virtual/libusb-0*"
19 RDEPEND="${DEPEND}"
20
21 S="${WORKDIR}/${MY_PN}_${PV}"
22 src_install() {
23 if use x86 ; then
24 insinto /usr/include
25 doins 32bit/luise.h
26 dolib.so 32bit/libluise.so.0.1.1
27 fi
28 if use amd64 ; then
29 insinto /usr/include
30 doins 64bit/luise.h
31 newlib.so 64bit/libluise_64.so.0.1.1 libluise.so.0.1.1
32 fi
33 dosym /usr/$(get_libdir)/libluise.so{.0.1.1,}
34
35 newdoc doc/readme README
36 use doc && dodoc doc/docu_luise011_Linux.pdf
37 if use examples ; then
38 docinto examples
39 dodoc samples/luise-test/*
40 fi
41 }

  ViewVC Help
Powered by ViewVC 1.1.20