mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] ptxdist-2011.11.0 regression on extract
@ 2011-11-22 10:42 Tim Sander
  2011-11-22 11:47 ` Michael Olbrich
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Sander @ 2011-11-22 10:42 UTC (permalink / raw)
  To: ptxdist

[-- Attachment #1: Type: text/plain, Size: 348 bytes --]

Hi

I just ran into an error with my own package of host-gchart.

It downloads gchart-2.7.zip and extracts it:
$(call extract, HOST_CHART, $(HOST_GCHART_DIR))

This works without problems in ptxdist-2011.04.1.

With 2011.11.0 the $(HOST_GCHART_DIR) contains the first directory of the 
zipfile (javadoc) and not the zipfile root.

Best regards
Tim

[-- Attachment #2: host-gchart.in --]
[-- Type: text/plain, Size: 76 bytes --]

## SECTION=hosttools_noprompt

config HOST_GCHART
	tristate
	default ALLYES

[-- Attachment #3: host-gchart.make --]
[-- Type: text/plain, Size: 1990 bytes --]

# -*-makefile-*-
#
# Copyright (C) 2011 by Tim Sander <tim.sander@hbm.com>
#
# 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
#
HOST_PACKAGES-$(PTXCONF_HOST_GCHART) += host-gchart

#
# Paths and names
#
HOST_GCHART_VERSION	:= 2.7
HOST_GCHART		:= gchart-$(HOST_GCHART_VERSION)
HOST_GCHART_SUFFIX	:= zip
HOST_GCHART_URL	:= http://clientsidegchart.googlecode.com/files/$(HOST_GCHART).$(HOST_GCHART_SUFFIX)
HOST_GCHART_SOURCE	:= $(SRCDIR)/$(HOST_GCHART).$(HOST_GCHART_SUFFIX)
HOST_GCHART_DIR	:= $(HOST_BUILDDIR)/$(HOST_GCHART)
HOST_GCHART_LICENSE	:= Apache2.0

# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------

$(HOST_GCHART_SOURCE):
	@$(call targetinfo)
	@$(call get, HOST_GCHART)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

$(STATEDIR)/host-gchart.prepare:
	@$(call targetinfo)
	@$(call touch)
# ----------------------------------------------------------------------------
# Extract
# ----------------------------------------------------------------------------

$(STATEDIR)/host-gchart.extract:
	@$(call targetinfo)
	@$(call clean)
	@$(call extract, HOST_GCHART, $(HOST_GCHART_DIR))
	@$(call touch)

# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------

$(STATEDIR)/host-gchart.compile:
	@$(call targetinfo)
	@$(call touch)

# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------

$(STATEDIR)/host-gchart.install:
	@$(call targetinfo)
	@$(call touch)

# vim: syntax=make

[-- Attachment #4: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-22 13:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-22 10:42 [ptxdist] ptxdist-2011.11.0 regression on extract Tim Sander
2011-11-22 11:47 ` Michael Olbrich
2011-11-22 12:44   ` Tim Sander
2011-11-22 13:01   ` Tim Sander
2011-11-22 13:16     ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox