[oe-commits] Andreas Oberritter : libungif-4.1.3: update recipe, fix packaging

git version control git at git.openembedded.org
Tue Nov 16 21:39:52 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: cc397a6c47e3327e93d11da379b4f366bbd3a866
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=cc397a6c47e3327e93d11da379b4f366bbd3a866

Author: Andreas Oberritter <obi at opendreambox.org>
Date:   Mon Oct 25 02:50:24 2010 +0000

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 <obi at opendreambox.org>
Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/libungif/libungif_4.1.3.bb |   24 ++++++++----------------
 1 files changed, 8 insertions(+), 16 deletions(-)

diff --git a/recipes/libungif/libungif_4.1.3.bb b/recipes/libungif/libungif_4.1.3.bb
index f53008b..f5bc6fb 100644
--- a/recipes/libungif/libungif_4.1.3.bb
+++ b/recipes/libungif/libungif_4.1.3.bb
@@ -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}/*"





More information about the Openembedded-commits mailing list