Files
@ 7f52fc52f33b
Branch filter:
Location: ohnobinki_overlay/dev-embedded/phidget/phidget-2.1.4.20080924.ebuild - annotation
7f52fc52f33b
1.2 KiB
application/vnd.gentoo.ebuild
added libgphoto2-2.4.2 with a file listing length increase
A future version (beyond libgphoto2-2.4.3) will have this constant limit fixed: see https://sourceforge.net/tracker2/index.php?func=detail&aid=2055906&group_id=8874&atid=108874
libgphoto2-2.4.3 does not have this fix yet and libgphoto2-2.4.3 has EAPI="2", which requires =portage-2*
Increasing the constant number of images listable is the most practial way of fixing this. For an example, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425515
A future version (beyond libgphoto2-2.4.3) will have this constant limit fixed: see https://sourceforge.net/tracker2/index.php?func=detail&aid=2055906&group_id=8874&atid=108874
libgphoto2-2.4.3 does not have this fix yet and libgphoto2-2.4.3 has EAPI="2", which requires =portage-2*
Increasing the constant number of images listable is the most practial way of fixing this. For an example, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425515
5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 | # 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="LGPL"
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
}
|