summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2006-01-03 21:32:38 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-03 21:32:38 +0000
commit8a044e2b7f294444e444d70d55d1a4868640a069 (patch)
tree7b7d1c7c9c6ad4ed780b8e72c81d97c1fddd99a4
parentc0555ac66d6a83c492db19ef6d33748e540f09ac (diff)
disapproval of revision '40cd64edf16241a37663807e311fba8e23f0d258'
-rw-r--r--packages/libgphoto2/libgphoto2_2.1.6.bb22
1 files changed, 19 insertions, 3 deletions
diff --git a/packages/libgphoto2/libgphoto2_2.1.6.bb b/packages/libgphoto2/libgphoto2_2.1.6.bb
index 2b7913ec5f..b814f9a469 100644
--- a/packages/libgphoto2/libgphoto2_2.1.6.bb
+++ b/packages/libgphoto2/libgphoto2_2.1.6.bb
@@ -2,7 +2,7 @@ SECTION = "libs"
DEPENDS = "jpeg libusb libexif"
RPEDENDS = "libusb"
DESCRIPTION = "libgphoto2 allows you to access digital cameras"
-PR = "r5"
+PR = "r4"
SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/libgphoto2-${PV}.tar.gz"
@@ -12,9 +12,25 @@ LICENSE = "GPL"
inherit autotools pkgconfig
do_stage() {
- autotools_stage_all
-}
+ install -d ${STAGING_LIBDIR}
+ mv libgphoto2/.libs/libgphoto2.so.2.0.3T libgphoto2/.libs/libgphoto2.so.2.0.3 || true
+ oe_libinstall -so -C libgphoto2 libgphoto2 ${STAGING_LIBDIR}
+ oe_libinstall -so -C libgphoto2_port/libgphoto2_port libgphoto2_port ${STAGING_LIBDIR}
+
+ install -d ${STAGING_LIBDIR}/gphoto2/2.0
+ oe_libinstall -so -C camlibs/canon libgphoto2_canon.so ${STAGING_LIBDIR}/gphoto2/2.0
+ install -d ${STAGING_INCDIR}/gphoto2
+ for X in gphoto2-abilities-list.h gphoto2-camera.h gphoto2-context.h gphoto2-file.h gphoto2-filesys.h gphoto2.h gphoto2-library.h gphoto2-list.h gphoto2-result.h gphoto2-setting.h gphoto2-version.h gphoto2-widget.h
+ do
+ install -m 0644 ${S}/libgphoto2/$X ${STAGING_INCDIR}/gphoto2/$X
+ done
+ for X in gphoto2-port.h gphoto2-port-info-list.h gphoto2-port-log.h gphoto2-port-version.h gphoto2-port-portability.h gphoto2-port-result.h
+ do
+ install -m 0644 ${S}/libgphoto2_port/libgphoto2_port/$X ${STAGING_INCDIR}/gphoto2/$X
+ done
+}
PACKAGES =+ "libgphoto2-camlibs"
FILES_libgphoto2-camlibs = "/usr/lib/gphoto2_port/ /usr/lib/gphoto2/"
RDEPENDS_libgphoto2 = "libgphoto2-camlibs"
+