Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Graham Gower <graham.gower@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 2/2 v2] zziplib_0.13.59.bb: add new recipe.
Date: Thu, 16 Sep 2010 14:58:07 +0930	[thread overview]
Message-ID: <4C91AAE7.70203@gmail.com> (raw)
In-Reply-To: <AANLkTin8H_Y4LSA82sDGDL7sqFHFhuR7KJJGHK7Tp-26@mail.gmail.com>


Signed-off-by: Graham Gower <graham.gower@gmail.com>
---
 recipes/zziplib/zziplib-0.13.59/configure.ac.patch |   29 ++++++++++++++++++++
 recipes/zziplib/zziplib_0.13.59.bb                 |   27 ++++++++++++++++++
 2 files changed, 56 insertions(+), 0 deletions(-)
 create mode 100644 recipes/zziplib/zziplib-0.13.59/configure.ac.patch
 create mode 100644 recipes/zziplib/zziplib_0.13.59.bb

diff --git a/recipes/zziplib/zziplib-0.13.59/configure.ac.patch b/recipes/zziplib/zziplib-0.13.59/configure.ac.patch
new file mode 100644
index 0000000..9d72296
--- /dev/null
+++ b/recipes/zziplib/zziplib-0.13.59/configure.ac.patch
@@ -0,0 +1,29 @@
+--- zziplib-0.13.59/configure.ac-orig	2010-09-16 14:34:38.000000000 +0930
++++ zziplib-0.13.59/configure.ac	2010-09-16 14:36:35.000000000 +0930
+@@ -1,13 +1,11 @@
+-AC_INIT([zziplib.spec])
+ AC_PREREQ(2.61)
+-AC_COPYRIGHT([Guido Draheim <guido@gmx.de> for ZZipLib.SF.net])
++AC_INIT([zziplib], [0.13.59], [Guido Draheim <guido@gmx.de>])
++AC_CANONICAL_TARGET
++AM_INIT_AUTOMAKE([foreign 1.9 dist-bzip2])
++AC_CONFIG_SRCDIR([zzip/zip.c])
+ AC_REVISION($Revision: 1.15 $)
+-AC_CONFIG_AUX_DIR([uses])
+ AC_CONFIG_MACRO_DIR([m4])
+ # =======================================================================
+-AC_CANONICAL_SYSTEM
+-dnl AM_ENABLE_MULTILIB([Makefile],[$host])
+-AX_ENABLE_BUILDDIR_UNAME
+ AC_SET_DEFAULT_PATHS_SYSTEM
+ # -----------------------------------------------------------------------
+ AC_ARG_ENABLE([thread-safe],
+@@ -62,8 +60,6 @@
+ AC_SUBST(ZLIB_INCL)
+ AC_SUBST(ZLIB_LDIR)
+ # -----------------------------------------------------------------------
+-AX_SPEC_DEFAULTS
+-AM_INIT_AUTOMAKE($PACKAGE,$VERSION)
+ dnl test ".$CFLAGS" = "." && CFLAGS=""
+ AC_PROG_CC
+ dnl test ".$CFLAGS" = "." && test "$GCC" = "yes" && CFLAGS="-O3"
diff --git a/recipes/zziplib/zziplib_0.13.59.bb b/recipes/zziplib/zziplib_0.13.59.bb
new file mode 100644
index 0000000..eac671c
--- /dev/null
+++ b/recipes/zziplib/zziplib_0.13.59.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "Support library for dealing with zip files"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "LGPL MPL"
+DEPENDS = "zlib python-native"
+
+PR = "r0"
+
+SRC_URI[md5sum] = "14b5a6fc229afe9916d48358479568d3"
+SRC_URI[sha256sum] = "cbc90cef60ee498319258e464895f990bb2e6e08f245264d77e44b309c8c218f"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/zziplib/zziplib-${PV}.tar.bz2 \
+		file://configure.ac.patch"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF += "--srcdir=${S}"
+BBCLASSEXTEND = "native"
+
+do_compile_append() {
+	# Fix QA Issue with staging.
+	for i in ${S}/*/*.pc ; do
+		if [ ! -z "${STAGING_DIR_TARGET}" ]; then
+			sed -i -e s:${STAGING_DIR_TARGET}::g $i
+		fi
+	done
+}
-- 
1.7.1





  reply	other threads:[~2010-09-16  5:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-16  4:31 [PATCH 2/2] zziplib_0.13.59.bb: add new recipe Graham Gower
2010-09-16  4:45 ` Graham Gower
2010-09-16  5:28   ` Graham Gower [this message]
2010-09-16  6:19 ` Frans Meulenbroeks

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C91AAE7.70203@gmail.com \
    --to=graham.gower@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox