* [PATCH] libungif-4.1.3: update recipe, fix packaging
@ 2010-10-25 12:50 Andreas Oberritter
2010-10-25 15:56 ` Andreas Oberritter
2010-11-16 16:53 ` Andreas Oberritter
0 siblings, 2 replies; 3+ messages in thread
From: Andreas Oberritter @ 2010-10-25 12:50 UTC (permalink / raw)
To: openembedded-devel
* 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@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}/*"
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] libungif-4.1.3: update recipe, fix packaging
2010-10-25 12:50 [PATCH] libungif-4.1.3: update recipe, fix packaging Andreas Oberritter
@ 2010-10-25 15:56 ` Andreas Oberritter
2010-11-16 16:53 ` Andreas Oberritter
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Oberritter @ 2010-10-25 15:56 UTC (permalink / raw)
To: openembedded-devel
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.
Forgot to mention that this depends on my change to lib_package.bbclass:
http://patchwork.openembedded.org/patch/3428/
Regards,
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] libungif-4.1.3: update recipe, fix packaging
2010-10-25 12:50 [PATCH] libungif-4.1.3: update recipe, fix packaging Andreas Oberritter
2010-10-25 15:56 ` Andreas Oberritter
@ 2010-11-16 16:53 ` Andreas Oberritter
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Oberritter @ 2010-11-16 16:53 UTC (permalink / raw)
To: openembedded-devel
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@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}/*"
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-16 16:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-25 12:50 [PATCH] libungif-4.1.3: update recipe, fix packaging Andreas Oberritter
2010-10-25 15:56 ` Andreas Oberritter
2010-11-16 16:53 ` Andreas Oberritter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.