- echo "Description: $(DESCRIPTION)" | sed -e 's,\\,\n,g';
-
- ifneq ($(URL),)
- DUMPINFO += \
- echo; \
- echo "$(URL)";
- endif
-
- DUMPINFO += \
- echo "@@";
-
- ifneq ($(CONFIG),)
- DUMPINFO += \
- echo "Config: $(CONFIG)" | sed -e 's,\\,\n,g'; \
- echo "@@";
+ echo "Maintainer: $(MAINTAINER)"; \
+ if isset $(call shvar,Package/$(1)/description); then \
+ echo -n "Description: "; \
+ getvar $(call shvar,Package/$(1)/description); \
+ else \
+ echo "Description: $(patsubst \\,\\\\,$(DESCRIPTION))" | perl -ne 's/\\/\n/g, print'; \
+ fi;
+
+ ifneq ($(URL),)
+ DUMPINFO_$(call shvar,$(1)) += \
+ echo; \
+ echo "$(URL)";
+ endif
+
+ DUMPINFO_$(call shvar,$(1)) += \
+ echo "@@";
+
+ $(call shexport,Package/$(1)/config)
+ DUMPINFO_$(call shvar,$(1)) += \
+ if isset $(call shvar,Package/$(1)/config); then \
+ echo "Config: "; \
+ getvar $(call shvar,Package/$(1)/config); \
+ echo "@@"; \
+ fi;
+