endef
$(eval $(call BuildPackage,glib2))
+
+$(eval $(call RequireCommand,glib-genmarshal, \
+ $(PKG_NAME) requires the glib2 dev (named like libglib2.0-dev, \
+ depending of your package manager) package be installed on the host-system. \
+))
+++ /dev/null
-diff -urN glib-2.12.12/configure glib-2.12.12.new/configure
---- glib-2.12.12/configure 2007-05-02 01:20:31.000000000 +0200
-+++ glib-2.12.12.new/configure 2007-05-11 09:24:21.000000000 +0200
-@@ -43081,8 +43081,7 @@
-
- if test x$GLIB_GENMARSHAL = xno; then
- { { echo "$as_me:$LINENO: error: Could not find a glib-genmarshal in your PATH" >&5
--echo "$as_me: error: Could not find a glib-genmarshal in your PATH" >&2;}
-- { (exit 1); exit 1; }; }
-+echo "$as_me: error: Could not find a glib-genmarshal in your PATH" >&2;} }
- fi
- fi
-