diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2009-08-19 11:03:50 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2009-08-19 11:03:50 +0200 |
commit | e011c548ffc0469f2c4fd32e1463ecebe514db46 (patch) | |
tree | 1ca0e4a847d11b28e2b637dae29ade91be61a3f7 | |
parent | e9a7a646909f78f8e82344ce5726219ad910ce2a (diff) | |
download | ptxdist-e011c548ffc0469f2c4fd32e1463ecebe514db46.tar.gz ptxdist-e011c548ffc0469f2c4fd32e1463ecebe514db46.tar.xz |
[arora] add arora web browser
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | patches/arora-0.8.0/fix-prefix.diff | 24 | ||||
-rw-r--r-- | patches/arora-0.8.0/series | 1 | ||||
-rw-r--r-- | rules/arora.in | 8 | ||||
-rw-r--r-- | rules/arora.make | 105 |
4 files changed, 138 insertions, 0 deletions
diff --git a/patches/arora-0.8.0/fix-prefix.diff b/patches/arora-0.8.0/fix-prefix.diff new file mode 100644 index 000000000..84b5b2606 --- /dev/null +++ b/patches/arora-0.8.0/fix-prefix.diff @@ -0,0 +1,24 @@ +From: Michael Olbrich <m.olbrich@pengutronix.de> +Subject: fix prefix + +arora installs to /usr/local by default. +This patch changes this to /usr. + +Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> +--- + install.pri | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: b/install.pri +=================================================================== +--- a/install.pri ++++ b/install.pri +@@ -1,7 +1,7 @@ + + unix { + isEmpty(PREFIX) { +- PREFIX = /usr/local ++ PREFIX = /usr + } + BINDIR = $$PREFIX/bin + diff --git a/patches/arora-0.8.0/series b/patches/arora-0.8.0/series new file mode 100644 index 000000000..686097a4c --- /dev/null +++ b/patches/arora-0.8.0/series @@ -0,0 +1 @@ +fix-prefix.diff diff --git a/rules/arora.in b/rules/arora.in new file mode 100644 index 000000000..da559d6a3 --- /dev/null +++ b/rules/arora.in @@ -0,0 +1,8 @@ +## SECTION=qt + +config ARORA + tristate + prompt "arora" + select QT4 + help + FIXME diff --git a/rules/arora.make b/rules/arora.make new file mode 100644 index 000000000..357da687e --- /dev/null +++ b/rules/arora.make @@ -0,0 +1,105 @@ +# -*-makefile-*- +# $Id: template 4565 2006-02-10 14:23:10Z mkl $ +# +# Copyright (C) 2006 by Michael Olbrich <m.olbrich@pengutronix.de> +# +# 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_ARORA) += arora + +# +# Paths and names +# +ARORA_VERSION := 0.8.0 +ARORA := arora-$(ARORA_VERSION) +ARORA_SUFFIX := tar.gz +ARORA_URL := http://arora.googlecode.com/files/$(ARORA).$(ARORA_SUFFIX) +ARORA_SOURCE := $(SRCDIR)/$(ARORA).$(ARORA_SUFFIX) +ARORA_DIR := $(BUILDDIR)/$(ARORA) +ARORA_PKGDIR := $(PKGDIR)/$(ARORA) + + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +$(ARORA_SOURCE): + @$(call targetinfo) + @$(call get, ARORA) + + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +$(STATEDIR)/arora.extract: + @$(call targetinfo, $@) + @$(call clean, $(ARORA_DIR)) + @$(call extract, ARORA) + @$(call patchin, ARORA) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +ARORA_PATH := PATH=$(CROSS_PATH) +ARORA_ENV := \ + $(CROSS_ENV) \ + INSTALL_ROOT=$(ARORA_PKGDIR) \ + QMAKESPEC=$(SYSROOT)/usr/mkspecs/qws/linux-ptx-g++ + +$(STATEDIR)/arora.prepare: + @$(call targetinfo) + cd $(ARORA_DIR) && \ + $(ARORA_PATH) $(ARORA_ENV) qmake -recursive + @$(call touch) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +$(STATEDIR)/arora.compile: + @$(call targetinfo) + cd $(ARORA_DIR) && $(ARORA_PATH) make + @$(call touch) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/arora.targetinstall: $(arora_targetinstall_deps_default) + @$(call targetinfo, $@) + + @$(call install_init, arora) + @$(call install_fixup, arora,PACKAGE,arora) + @$(call install_fixup, arora,PRIORITY,optional) + @$(call install_fixup, arora,VERSION,$(ARORA_VERSION)) + @$(call install_fixup, arora,SECTION,base) + @$(call install_fixup, arora,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>") + @$(call install_fixup, arora,DEPENDS,) + @$(call install_fixup, arora,DESCRIPTION,missing) + + @$(call install_copy, arora, 0, 0, 0755, -, /usr/bin/arora) + + @$(call install_finish, arora) + + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +arora_clean: + rm -rf $(STATEDIR)/arora.* + rm -rf $(PKGDIR)/arora_* + rm -rf $(ARORA_DIR) + +# vim: syntax=make |