From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YB3xY-0000Jz-JJ for ptxdist@pengutronix.de; Tue, 13 Jan 2015 17:04:49 +0100 Received: by mail-we0-f179.google.com with SMTP id q59so3744625wes.10 for ; Tue, 13 Jan 2015 08:04:42 -0800 (PST) From: grodriguez Date: Tue, 13 Jan 2015 17:04:39 +0100 Message-Id: <1421165079-3352-1-git-send-email-guille.rodriguez@gmail.com> In-Reply-To: <1418745419-20940-1-git-send-email-guille.rodriguez@gmail.com> References: <1418745419-20940-1-git-send-email-guille.rodriguez@gmail.com> Subject: [ptxdist] [PATCH v3] New package: fuse-zip Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: grodriguez v2: Added package description in .in file v3: Add patch to fix a missing header. More info: http://code.google.com/p/fuse-zip/issues/detail?id=44 Signed-off-by: Guillermo Rodriguez --- patches/fuse-zip-0.4.0/Fix_missing_header.diff | 13 +++++ patches/fuse-zip-0.4.0/series | 1 + rules/fuse-zip.in | 17 +++++++ rules/fuse-zip.make | 58 ++++++++++++++++++++++++ 4 files changed, 89 insertions(+), 0 deletions(-) create mode 100644 patches/fuse-zip-0.4.0/Fix_missing_header.diff create mode 100644 patches/fuse-zip-0.4.0/series create mode 100644 rules/fuse-zip.in create mode 100644 rules/fuse-zip.make diff --git a/patches/fuse-zip-0.4.0/Fix_missing_header.diff b/patches/fuse-zip-0.4.0/Fix_missing_header.diff new file mode 100644 index 0000000..39ccc92 --- /dev/null +++ b/patches/fuse-zip-0.4.0/Fix_missing_header.diff @@ -0,0 +1,13 @@ +Index: fuse-zip-0.4.0/lib/fileNode.cpp +=================================================================== +--- fuse-zip-0.4.0.orig/lib/fileNode.cpp 2014-01-14 17:55:27.000000000 +0100 ++++ fuse-zip-0.4.0/lib/fileNode.cpp 2014-12-10 18:33:42.524472368 +0100 +@@ -27,6 +27,8 @@ + #include + #include + #include ++#define __STDC_LIMIT_MACROS ++#include + + #include "fileNode.h" + #include "extraField.h" diff --git a/patches/fuse-zip-0.4.0/series b/patches/fuse-zip-0.4.0/series new file mode 100644 index 0000000..b460945 --- /dev/null +++ b/patches/fuse-zip-0.4.0/series @@ -0,0 +1 @@ +Fix_missing_header.diff diff --git a/rules/fuse-zip.in b/rules/fuse-zip.in new file mode 100644 index 0000000..f61df44 --- /dev/null +++ b/rules/fuse-zip.in @@ -0,0 +1,17 @@ +## SECTION=disk_and_file + +config FUSE_ZIP + tristate + prompt "fuse-zip" + select LIBZIP + select FUSE + select FUSE__LIB + help + fuse-zip is a FUSE file system to navigate, extract, create + and modify ZIP and ZIP64 archives based on libzip implemented + in C++. + + With fuse-zip you really can work with ZIP archives as real + directories. Unlike KIO or Gnome VFS, it can be used in any + application without modifications. + diff --git a/rules/fuse-zip.make b/rules/fuse-zip.make new file mode 100644 index 0000000..482fe18 --- /dev/null +++ b/rules/fuse-zip.make @@ -0,0 +1,58 @@ +# -*-makefile-*- +# +# Copyright (C) 2014 by Guillermo Rodriguez +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_FUSE_ZIP) += fuse-zip + +# +# Paths and names +# +FUSE_ZIP_VERSION := 0.4.0 +FUSE_ZIP_MD5 := da2d85c5b28ccd153c928f8030e3f729 +FUSE_ZIP := fuse-zip-$(FUSE_ZIP_VERSION) +FUSE_ZIP_SUFFIX := tar.gz +FUSE_ZIP_URL := http://fuse-zip.googlecode.com/files/$(FUSE_ZIP).$(FUSE_ZIP_SUFFIX) +FUSE_ZIP_SOURCE := $(SRCDIR)/$(FUSE_ZIP).$(FUSE_ZIP_SUFFIX) +FUSE_ZIP_DIR := $(BUILDDIR)/$(FUSE_ZIP) +FUSE_ZIP_LICENSE := LGPL + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +FUSE_ZIP_CONF_TOOL := NO +FUSE_ZIP_MAKE_ENV := $(CROSS_ENV) + +# Makefile ignores DESTDIR +FUSE_ZIP_INSTALL_OPT := 'INSTALLPREFIX=$(FUSE_ZIP_PKGDIR)/usr' install + + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/fuse-zip.targetinstall: + @$(call targetinfo) + + @$(call install_init, fuse-zip) + @$(call install_fixup, fuse-zip, PRIORITY,optional) + @$(call install_fixup, fuse-zip, SECTION,base) + @$(call install_fixup, fuse-zip, AUTHOR,"Guillermo Rodriguez ") + @$(call install_fixup, fuse-zip, DESCRIPTION,missing) + + @$(call install_copy, fuse-zip, 0, 0, 0755, -, /usr/bin/fuse-zip) + + @$(call install_finish, fuse-zip) + + @$(call touch) + +# vim: syntax=make -- 1.7.0.4 -- ptxdist mailing list ptxdist@pengutronix.de