[oe] [PATCH] libungif-4.1.3: update recipe, fix packaging

Andreas Oberritter obi at opendreambox.org
Tue Nov 16 16:53:24 UTC 2010


Ping (now that the required changes to lib_package.bbclass have been pushed)

Patchwork URL:
http://patchwork.openembedded.org/patch/3416/

On 10/25/2010 02:50 PM, Andreas Oberritter wrote:
> * 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>
> ---
>  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-devel mailing list