New package: arora - webkit browser for qt

Signed-off-by: Markus Rathgeb <[email protected]>
===============================================================================
diff -Naur /tmp/rules/./rules/arora.in ./rules/arora.in
--- /tmp/rules/./rules/arora.in 1970-01-01 01:00:00.000000000 +0100
+++ ./rules/arora.in    2009-08-26 15:11:10.000000000 +0200
@@ -0,0 +1,11 @@
+## SECTION=qt
+
+config ARORA
+       tristate
+       prompt "Arora"
+       select QT4
+       select QT4_BUILD_GUI
+       select QT4_BUILD_SQL
+       select QT4_BUILD_WEBKIT
+       help
+         A cross-platform Qt4 WebKit browser
diff -Naur /tmp/rules/./rules/arora.make ./rules/arora.make
--- /tmp/rules/./rules/arora.make       1970-01-01 01:00:00.000000000 +0100
+++ ./rules/arora.make  2009-08-26 15:11:10.000000000 +0200
@@ -0,0 +1,131 @@
+# Copyright (C) 2009 by Markus Rathgeb <[email protected]>
+
+
+PACKAGES-$(PTXCONF_ARORA) += arora
+
+#
+# Paths and names
+#
+ARORA_NAME     := arora
+ARORA_VERSION  := 0.7.1
+ARORA          := $(ARORA_NAME)-$(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_SRCDIR   := $(BUILDDIR)/$(ARORA)
+
+# 
----------------------------------------------------------------------------
+# Get
+# 
----------------------------------------------------------------------------
+
+arora_get: $(STATEDIR)/arora.get
+
+$(STATEDIR)/arora.get: $(arora_get_deps_default)
+       @$(call targetinfo, $@)
+       @$(call touch, $@)
+
+$(ARORA_SOURCE):
+       @$(call targetinfo, $@)
+       @$(call get, ARORA)
+
+# 
----------------------------------------------------------------------------
+# Extract
+# 
----------------------------------------------------------------------------
+
+arora_extract: $(STATEDIR)/arora.extract
+
+$(STATEDIR)/arora.extract: $(arora_extract_deps_default)
+       @$(call targetinfo, $@)
+       @$(call clean, $(ARORA_DIR))
+       @$(call extract, ARORA)
+       @$(call patchin, ARORA)
+       @$(call touch, $@)
+
+# 
----------------------------------------------------------------------------
+# Prepare
+# 
----------------------------------------------------------------------------
+
+arora_prepare: $(STATEDIR)/arora.prepare
+
+ARORA_PATH     := PATH=$(CROSS_PATH)
+ARORA_ENV      := \
+               $(CROSS_ENV) \
+               QMAKEPATH=$(QT4_DIR) \
+               INSTALL_ROOT=$(SYSROOT)
+#              QMAKESPEC=$(QT4_DIR)/mkspecs/qws/linux-ptx-g++
+
+#
+# autoconf
+#
+ARORA_AUTOCONF := $(CROSS_AUTOCONF_USR)
+
+$(STATEDIR)/arora.prepare: $(arora_prepare_deps_default)
+       @$(call targetinfo, $@)
+       @$(call clean, $(ARORA_DIR)/config.cache)
+#      cd $(ARORA_DIR) && \
+#              $(ARORA_PATH) $(ARORA_ENV) \
+#              CC="$(CROSS_CC)" \
+#              $(QT4_DIR)/bin/qmake $(ARORA_SRCDIR)/arora.pro $(ARORA_AUTOCONF)
+       cd $(ARORA_DIR) && \
+               $(ARORA_PATH) $(ARORA_ENV) \
+               $(QT4_DIR)/bin/qmake $(ARORA_SRCDIR)/arora.pro
+       @$(call touch, $@)
+
+# 
----------------------------------------------------------------------------
+# Compile
+# 
----------------------------------------------------------------------------
+
+arora_compile: $(STATEDIR)/arora.compile
+
+$(STATEDIR)/arora.compile: $(arora_compile_deps_default)
+       @$(call targetinfo, $@)
+       cd $(ARORA_DIR) && $(ARORA_ENV) $(ARORA_PATH) $(MAKE) $(PARALLELMFLAGS)
+       @$(call touch, $@)
+
+# 
----------------------------------------------------------------------------
+# Install
+# 
----------------------------------------------------------------------------
+
+arora_install: $(STATEDIR)/arora.install
+
+$(STATEDIR)/arora.install: $(arora_install_deps_default)
+       @$(call targetinfo, $@)
+       @$(call install, ARORA)
+       @$(call touch, $@)
+
+# 
----------------------------------------------------------------------------
+# Target-Install
+# 
----------------------------------------------------------------------------
+
+arora_targetinstall: $(STATEDIR)/arora.targetinstall
+
+$(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,"Markus Rathgeb 
<[email protected]>")
+       @$(call install_fixup, arora,DEPENDS,)
+       @$(call install_fixup, arora,DESCRIPTION,missing)
+
+       @$(call install_copy, arora, 0, 0, 0755, $(ARORA_DIR)/arora, 
/usr/bin/arora)
+#      @$(call install_copy, arora, 0, 0, 0755, $(ARORA_DIR)/arora-cacheinfo, 
/usr/bin/arora-cacheinfo)
+#      @$(call install_copy, arora, 0, 0, 0755, 
$(ARORA_DIR)/arora-placesimport, 
/usr/bin/arora-placesimport)
+#      @$(call install_copy, arora, 0, 0, 0755, $(ARORA_DIR)/htmlToXBel, 
/usr/bin/htmlToXBel)
+
+       @$(call install_finish, arora)
+
+       @$(call touch, $@)
+
+# 
----------------------------------------------------------------------------
+# Clean
+# 
----------------------------------------------------------------------------
+
+arora_clean:
+       rm -rf $(STATEDIR)/arora.*
+       rm -rf $(PKGDIR)/arora_*
+       rm -rf $(ARORA_DIR)


-- 

Markus Rathgeb
Public Key Server: http://wwwkeys.us.pgp.net/ bzw. hkp://wwwkeys.us.pgp.net/
Public Key Server: http://stinkfoot.org:11371/ bzw. hkp://stinkfoot.org

"Erst nachdem wir alles verloren haben, haben wir die Freiheit, alles zu tun."
"It's only after we've lost everything, that we're free to do anything!" 

Attachment: signature.asc
Description: This is a digitally signed message part.

--
ptxdist mailing list
[email protected]

Reply via email to