summaryrefslogtreecommitdiff
path: root/recipes/zziplib
diff options
context:
space:
mode:
authorGraham Gower <graham.gower@gmail.com>2010-09-15 19:28:07 +0000
committerKhem Raj <raj.khem@gmail.com>2010-09-16 23:17:13 -0700
commita07038318d422318a8c1d03a8fc01a8d2fae48b3 (patch)
tree10effe27e3e7e259ebfc701bb2ae5a1145121bf6 /recipes/zziplib
parentb2fa19e0b972363f69361964c0a539111c75a4a6 (diff)
zziplib_0.13.59.bb: add new recipe.
Signed-off-by: Graham Gower <graham.gower@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/zziplib')
-rw-r--r--recipes/zziplib/zziplib-0.13.59/configure.ac.patch29
-rw-r--r--recipes/zziplib/zziplib_0.13.59.bb27
2 files changed, 56 insertions, 0 deletions
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 0000000000..9d72296208
--- /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 0000000000..eac671cfe0
--- /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
+}