diff options
author | John Bowler <jbowler@nslu2-linux.org> | 2006-01-03 02:12:40 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-01-03 02:12:40 +0000 |
commit | c0555ac66d6a83c492db19ef6d33748e540f09ac (patch) | |
tree | 108c79cee06eabf56a45659564d5cacac4a08335 /packages | |
parent | 67cb2da0effe1a1a6b7b8f8f7baa04c6ed646080 (diff) |
libgphoto2: change do_stage to use autotools_stage_all in 2.1.6
Diffstat (limited to 'packages')
-rw-r--r-- | packages/libgphoto2/libgphoto2_2.1.6.bb | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/packages/libgphoto2/libgphoto2_2.1.6.bb b/packages/libgphoto2/libgphoto2_2.1.6.bb index b814f9a469..2b7913ec5f 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 = "r4" +PR = "r5" SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/libgphoto2-${PV}.tar.gz" @@ -12,25 +12,9 @@ LICENSE = "GPL" inherit autotools pkgconfig do_stage() { - 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 + autotools_stage_all } + PACKAGES =+ "libgphoto2-camlibs" FILES_libgphoto2-camlibs = "/usr/lib/gphoto2_port/ /usr/lib/gphoto2/" RDEPENDS_libgphoto2 = "libgphoto2-camlibs" - |