libungif-4.1.3: update recipe, fix packaging
PATCH 1/1 libungif-4.1.3: update recipe, fix packaging
* Use lib_package to move static libraries to -static and *.la and *.so symlinks to -dev.
* Converted to new style staging.
* Ran oe-stylize.py.
Signed-off-by Andreas Oberritter <[email protected]>
--- recipes/libungif/libungif_4.1.3.bb | 24 ++++++++---------------- 1 files changed, 8 insertions(+), 16 deletions(-)
recipes/libungif/libungif_4.1.3.bb +8 -16
@@ -1,22 +1,14 @@ -SECTION = "libs" DESCRIPTION = "shared library for GIF images" -SRC_URI = "${SOURCEFORGE_MIRROR}/giflib/libungif-${PV}.tar.bz2" +SECTION = "libs" LICENSE = "MIT" -PR = "r2" - -PACKAGES += "${PN}-utils" - -FILES_${PN} = "${libdir}" -FILES_${PN}-utils = "${bindir}" - -inherit autotools +PR = "r3" -do_stage() { - oe_libinstall -so -C lib/.libs libungif ${STAGING_LIBDIR} +SRC_URI = "${SOURCEFORGE_MIRROR}/giflib/libungif-${PV}.tar.bz2" +SRC_URI[md5sum] = "8c198831cc0495596c78134b8849e9ad" +SRC_URI[sha256sum] = "59e835a57e6df03e4d2253b2357253f3d13da9473ff465563a3b9833a744fc36" - install -m 0644 lib/gif_lib.h ${STAGING_INCDIR}/ +inherit autotools lib_package -} +PACKAGES =+ "${PN}-utils" -SRC_URI[md5sum] = "8c198831cc0495596c78134b8849e9ad" -SRC_URI[sha256sum] = "59e835a57e6df03e4d2253b2357253f3d13da9473ff465563a3b9833a744fc36" +FILES_${PN}-utils = "${bindir}/*"
Signature · 1 line
1.7.1
Quoted 2 lines · Andreas Oberritter
* Use
lib_packageto move static libraries to -static and *.la and *.so symlinks to -dev.
Forgot to mention that this depends on my change to lib_package.bbclass:
http://patchwork.openembedded.org/patch/3428/
Regards,
Andreas
Ping (now that the required changes to lib_package.bbclass have been pushed)
Patchwork URL:
http://patchwork.openembedded.org/patch/3416/
Quoted 45 lines · Andreas Oberritter
* Use
lib_packageto move static libraries to -static and *.la and *.so symlinks to -dev.
* Converted to new style staging.
* Ranoe-stylize.py.Signed-off-by Andreas Oberritter <[email protected]>--- recipes/libungif/libungif_4.1.3.bb | 24 ++++++++---------------- 1 files changed, 8 insertions(+), 16 deletions(-)recipes/libungif/libungif_4.1.3.bb +8
-16@@ -1,22 +1,14 @@ -SECTION = "libs" DESCRIPTION = "shared library for GIF images" -SRC_URI = "${SOURCEFORGE_MIRROR}/giflib/libungif-${PV}.tar.bz2" +SECTION = "libs" LICENSE = "MIT" -PR = "r2" - -PACKAGES += "${PN}-utils" - -FILES_${PN} = "${libdir}" -FILES_${PN}-utils = "${bindir}" - -inherit autotools +PR = "r3" -do_stage() { - oe_libinstall -so -C lib/.libs libungif ${STAGING_LIBDIR} +SRC_URI = "${SOURCEFORGE_MIRROR}/giflib/libungif-${PV}.tar.bz2" +SRC_URI[md5sum] = "8c198831cc0495596c78134b8849e9ad" +SRC_URI[sha256sum] = "59e835a57e6df03e4d2253b2357253f3d13da9473ff465563a3b9833a744fc36" - install -m 0644 lib/gif_lib.h ${STAGING_INCDIR}/ +inherit autotools lib_package -} +PACKAGES =+ "${PN}-utils" -SRC_URI[md5sum] = "8c198831cc0495596c78134b8849e9ad" -SRC_URI[sha256sum] = "59e835a57e6df03e4d2253b2357253f3d13da9473ff465563a3b9833a744fc36" +FILES_${PN}-utils = "${bindir}/*"