Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 190835 Details for
Bug 140087
new ebuild: phidget20-1.0.6.ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
updated ebuild for current libphidget21 version
phidget-2.1.6.20090430.ebuild (text/plain), 1.47 KB, created by
Nathan Phillip Brink (binki) (RETIRED)
on 2009-05-10 13:13:58 UTC
(
hide
)
Description:
updated ebuild for current libphidget21 version
Filename:
MIME Type:
Creator:
Nathan Phillip Brink (binki) (RETIRED)
Created:
2009-05-10 13:13:58 UTC
Size:
1.47 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="2" > >inherit versionator eutils java-pkg-opt-2 > >MY_PV="$(get_major_version)$(get_version_component_range 2)" >MY_PN="Phidgetlinux" > >DESCRIPTION="Phidget USB hardware interface library" >HOMEPAGE="http://www.phidgets.com" >SRC_URI="http://www.phidgets.com/downloads/libraries/${MY_PN}_${PV}.tar.gz" > >LICENSE="LGPL-2" >SLOT="0" >KEYWORDS="~x86 ~amd64" >IUSE="java" > >DEPEND="java? ( >=virtual/jdk-1.4 )" >RDEPEND="java? ( >=virtual/jre-1.4 )" > >S=${WORKDIR}/${MY_PN}/${PN}${MY_PV} > >src_prepare() { > epatch "${FILESDIR}"/${PN}${MY_PV}-libdir.patch > epatch "${FILESDIR}"/${PN}${MY_PV}-crosscompile.patch > epatch "${FILESDIR}"/${PN}${MY_PV}-java.patch >} > >src_compile() { > if use java; then > emake CROSS_COMPILE=${CHOST}- JAVA=y JAVAFLAGS="$(java-pkg_get-jni-cflags)" jni || die "emake failed" > else > emake CROSS_COMPILE=${CHOST}- JAVA=n || die "emake failed" > fi >} > >src_install() { > > #phidget's Makefile's install target requires that these dirs exist > dodir /usr/$(get_libdir) && \ > dodir /usr/include || die "mkdir failed to create installation target directories" > > local usejava > use java && usejava=y || usejava=n > emake install INSTALLPREFIX="${D}" PREFIX=usr LIBDIR=$(get_libdir) JAVA=${usejava} \ > || die "emake install failed" > > use java && java-pkg_regso "${D}"/usr/$(get_libdir)/lib${PN}${MY_PV}.so > > dodoc ../README udev/99-phidgets.rules > docinto examples > dodoc examples/* >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 140087
:
91543
|
92591
|
168230
|
168232
|
168234
|
168240
|
177617
|
177618
|
177620
| 190835