All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sgml-common-native: Run oe-stylize.py and updated the recipe accordingly
@ 2010-08-24 12:32 Noor Ahsan
  0 siblings, 0 replies; only message in thread
From: Noor Ahsan @ 2010-08-24 12:32 UTC (permalink / raw)
  To: openembedded-devel

* Run oe-stylize.py on the recipe and updated the recipe according to the output of oe-stylize.py
* Remove FILESDIR variable

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
---
 recipes/sgml-common/sgml-common-native_0.6.3.bb |   62 +++++++++++------------
 1 files changed, 29 insertions(+), 33 deletions(-)

diff --git a/recipes/sgml-common/sgml-common-native_0.6.3.bb b/recipes/sgml-common/sgml-common-native_0.6.3.bb
index 6f61a23..67f1710 100644
--- a/recipes/sgml-common/sgml-common-native_0.6.3.bb
+++ b/recipes/sgml-common/sgml-common-native_0.6.3.bb
@@ -1,41 +1,37 @@
 SECTION = "base"
-require sgml-common_${PV}.bb
-inherit native
-
 DEPENDS = ""
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/sgml-common-${PV}"
-S = "${WORKDIR}/sgml-common-${PV}"
-PACKAGES = ""
 
-do_stage () {
-	# For unknown reasons 'make install' does not work.
-	install -m 0755 bin/install-catalog ${STAGING_BINDIR_NATIVE}/
-	install -m 0755 bin/sgmlwhich ${STAGING_BINDIR_NATIVE}/
-	
-	install -d ${sysconfdir}/sgml
-	install -m 0644 config/sgml.conf ${sysconfdir}/sgml
-	
-	install -d ${STAGING_DATADIR}/sgml
-	install -m 0644 xml.dcl ${STAGING_DATADIR}/sgml/
-	
-	install -d ${STAGING_DATADIR}/sgml/xml-iso-entities-8879.1986
-	install -m 0644 xml-iso-entities/catalog ${STAGING_DATADIR}/sgml/xml-iso-entities-8879.1986/
-	install -m 0644 xml-iso-entities/*.ent ${STAGING_DATADIR}/sgml/xml-iso-entities-8879.1986/
-	install -d ${STAGING_DATADIR}/sgml/sgml-iso-entities-8879.1986
-	install -m 0644 sgml-iso-entities/catalog ${STAGING_DATADIR}/sgml/sgml-iso-entities-8879.1986/
-	install -m 0644 sgml-iso-entities/*.ent ${STAGING_DATADIR}/sgml/sgml-iso-entities-8879.1986/
+SRC_URI[md5sum] = "103c9828f24820df86e55e7862e28974"
+SRC_URI[sha256sum] = "7dc418c1d361123ffc5e45d61f1b97257940a8eb35d0bfbbc493381cc5b1f959"
 
-	install-catalog \
-	    --add ${sysconfdir}/sgml/sgml-ent.cat ${STAGING_DATADIR}/sgml/sgml-iso-entities-8879.1986/catalog
-	    
-	install-catalog \
-	    --add ${sysconfdir}/sgml/sgml-docbook.cat ${sysconfdir}/sgml/sgml-ent.cat
-			    
-}
+S = "${WORKDIR}/sgml-common-${PV}"
+
+require sgml-common_${PV}.bb
+inherit native
 
 do_install () {
-	:
+        :
+}
+do_stage () {
+        # For unknown reasons 'make install' does not work.
+        install -m 0755 bin/install-catalog ${STAGING_BINDIR_NATIVE}/
+        install -m 0755 bin/sgmlwhich ${STAGING_BINDIR_NATIVE}/
+        install -d ${sysconfdir}/sgml
+        install -m 0644 config/sgml.conf ${sysconfdir}/sgml
+        install -d ${STAGING_DATADIR}/sgml
+        install -m 0644 xml.dcl ${STAGING_DATADIR}/sgml/
+        install -d ${STAGING_DATADIR}/sgml/xml-iso-entities-8879.1986
+        install -m 0644 xml-iso-entities/catalog ${STAGING_DATADIR}/sgml/xml-iso-entities-8879.1986/
+        install -m 0644 xml-iso-entities/*.ent ${STAGING_DATADIR}/sgml/xml-iso-entities-8879.1986/
+        install -d ${STAGING_DATADIR}/sgml/sgml-iso-entities-8879.1986
+        install -m 0644 sgml-iso-entities/catalog ${STAGING_DATADIR}/sgml/sgml-iso-entities-8879.1986/
+        install -m 0644 sgml-iso-entities/*.ent ${STAGING_DATADIR}/sgml/sgml-iso-entities-8879.1986/
+        install-catalog \
+            --add ${sysconfdir}/sgml/sgml-ent.cat ${STAGING_DATADIR}/sgml/sgml-iso-entities-8879.1986/catalog
+        install-catalog \
+            --add ${sysconfdir}/sgml/sgml-docbook.cat ${sysconfdir}/sgml/sgml-ent.cat
 }
 
-SRC_URI[md5sum] = "103c9828f24820df86e55e7862e28974"
-SRC_URI[sha256sum] = "7dc418c1d361123ffc5e45d61f1b97257940a8eb35d0bfbbc493381cc5b1f959"
+PACKAGES = ""
+
+
-- 
1.6.3.3




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-24 12:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-24 12:32 [PATCH] sgml-common-native: Run oe-stylize.py and updated the recipe accordingly Noor Ahsan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.