Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 168230 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]
A working ebuild for a the more current phidget library
phidget-2.1.4.20080924.ebuild (text/plain), 1.23 KB, created by
Nathan Phillip Brink (binki) (RETIRED)
on 2008-10-13 02:04:03 UTC
(
hide
)
Description:
A working ebuild for a the more current phidget library
Filename:
MIME Type:
Creator:
Nathan Phillip Brink (binki) (RETIRED)
Created:
2008-10-13 02:04:03 UTC
Size:
1.23 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit versionator eutils java-pkg-opt-2 > >DESCRIPTION="Phidget USB hardware interface library" >MY_PV="$(get_major_version)$(get_version_component_range 2)" >LONGNAME="Phidgetlinux" >SRC_URI="http://www.phidgets.com/downloads/libraries/${LONGNAME}_${PV}.tar.gz" >HOMEPAGE="http://www.phidgets.com" > >SLOT="0" > >LICENSE="as-is" >KEYWORDS="x86 ~alpha ~ppc ~sparc ~hppa ~amd64" > >RDEPEND="java? ( >=virtual/jre-1.4 )" >DEPEND="java? ( >=virtual/jdk-1.4 )" > >S=${WORKDIR}/${LONGNAME}/${PN}${MY_PV} > >src_unpack() { > unpack ${LONGNAME}_${PV}.tar.gz > cd "${S}" > > epatch "${FILESDIR}"/${PN}${MY_PV}-libdir.patch > epatch "${FILESDIR}"/${PN}${MY_PV}-crosscompile.patch > use java && epatch "${FILESDIR}"/${PN}${MY_PV}-java.patch >} > >src_compile() { > echo cd "${S}" > cd "${S}" > if use java; then > emake CROSS_COMPILE=${CHOST}- JAVAFLAGS="$(java-pkg_get-jni-cflags)" jni || die "emake failed" > else > emake CROSS_COMPILE=${CHOST}- || die "emake failed" > fi >} > >src_install() { > > mkdir -p ${D}/usr/$(get_libdir) > mkdir -p ${D}/usr/include > make install INSTALLPREFIX=${D} PREFIX=usr LIBDIR=$(get_libdir) > java-pkg_regso "${D}"/usr/$(get_libdir)/lib${PN}${MY_PV}.so >}
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