summaryrefslogtreecommitdiffstats
path: root/rules/libgee.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/libgee.make')
-rw-r--r--rules/libgee.make70
1 files changed, 70 insertions, 0 deletions
diff --git a/rules/libgee.make b/rules/libgee.make
new file mode 100644
index 000000000..3918fe031
--- /dev/null
+++ b/rules/libgee.make
@@ -0,0 +1,70 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2010 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_LIBGEE) += libgee
+
+#
+# Paths and names
+#
+LIBGEE_VERSION := 0.5.1
+LIBGEE := libgee-$(LIBGEE_VERSION)
+LIBGEE_SUFFIX := tar.bz2
+LIBGEE_URL := http://download.gnome.org/sources/libgee/0.5/$(LIBGEE).$(LIBGEE_SUFFIX)
+LIBGEE_SOURCE := $(SRCDIR)/$(LIBGEE).$(LIBGEE_SUFFIX)
+LIBGEE_DIR := $(BUILDDIR)/$(LIBGEE)
+LIBGEE_LICENSE := LGPLv2.1+
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+$(LIBGEE_SOURCE):
+ @$(call targetinfo)
+ @$(call get, LIBGEE)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+# we should not need the vala compiler.
+# make sure it fails if it is caled anyways.
+LIBGEE_CONF_ENV := $(CROSS_ENV) ac_cv_path_VALAC=false
+
+#
+# autoconf
+#
+LIBGEE_CONF_TOOL := autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libgee.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, libgee)
+ @$(call install_fixup, libgee,PACKAGE,libgee)
+ @$(call install_fixup, libgee,PRIORITY,optional)
+ @$(call install_fixup, libgee,VERSION,$(LIBGEE_VERSION))
+ @$(call install_fixup, libgee,SECTION,base)
+ @$(call install_fixup, libgee,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
+ @$(call install_fixup, libgee,DEPENDS,)
+ @$(call install_fixup, libgee,DESCRIPTION,missing)
+
+ @$(call install_lib, libgee, 0, 0, 0644, libgee)
+
+ @$(call install_finish, libgee)
+
+ @$(call touch)
+
+# vim: syntax=make