All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hamlib: fix indentation and whitespace; move `SRC_URI[*sum]` to common place
@ 2010-12-31 11:11 Paul Menzel
  2010-12-31 12:43 ` Koen Kooi
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Menzel @ 2010-12-31 11:11 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2912 bytes --]

Date: Fri, 31 Dec 2010 12:02:46 +0100

With this patch using these recipes as templates in the future will not pass on these cosmetic errors.

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
 recipes/sdr/hamlib_1.2.10.bb |   10 ++++------
 recipes/sdr/hamlib_1.2.12.bb |    6 ++----
 2 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/recipes/sdr/hamlib_1.2.10.bb b/recipes/sdr/hamlib_1.2.10.bb
index 311eb44..76b8dda 100644
--- a/recipes/sdr/hamlib_1.2.10.bb
+++ b/recipes/sdr/hamlib_1.2.10.bb
@@ -4,6 +4,8 @@ LICENSE = "GPLv2"
 DEPENDS = "swig-native perl python virtual/libusb0 tcl gnuradio"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/hamlib/hamlib-${PV}.tar.gz"
+SRC_URI[md5sum] = "29f0d30779a8ffe0444eb523a6ad8344"
+SRC_URI[sha256sum] = "9b50825666519b0b86469f1988a0de09ce2ffc08fa221f9aa40d18c7b7f6c651"
 
 inherit autotools
 
@@ -19,8 +21,8 @@ do_compile_prepend() {
 	for i in $(find ${S} -name "Makefile") ; do
 		sed -i -e 's:${STAGING_LIBDIR_NATIVE}:${STAGING_LIBDIR}:g' \
 		       -e s:-L/usr/local/lib::g \
-			   -e 's:\"$(CC)\":\"${CC}\" LD=\"${LD}\" LDFLAGS=\"${LDFLAGS}\":g' \
-		       -e s:${STAGING_INCDIR_NATIVE}/python2.6:${STAGING_INCDIR}/python2.6:g $i 
+		       -e 's:\"$(CC)\":\"${CC}\" LD=\"${LD}\" LDFLAGS=\"${LDFLAGS}\":g' \
+		       -e s:${STAGING_INCDIR_NATIVE}/python2.6:${STAGING_INCDIR}/python2.6:g $i
 	done
 }
 
@@ -37,7 +39,3 @@ python populate_packages_prepend () {
 	do_split_packages(d, hamlib_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'hamlib %s development package', extra_depends='${PN}-dev')
 	do_split_packages(d, hamlib_libdir, '^lib(.*)\.so\.*', 'lib%s', 'hamlib %s library', extra_depends='', allow_links=True)
 }
-
-
-SRC_URI[md5sum] = "29f0d30779a8ffe0444eb523a6ad8344"
-SRC_URI[sha256sum] = "9b50825666519b0b86469f1988a0de09ce2ffc08fa221f9aa40d18c7b7f6c651"
diff --git a/recipes/sdr/hamlib_1.2.12.bb b/recipes/sdr/hamlib_1.2.12.bb
index 69e5e6e..f2774bf 100644
--- a/recipes/sdr/hamlib_1.2.12.bb
+++ b/recipes/sdr/hamlib_1.2.12.bb
@@ -17,8 +17,8 @@ do_compile_prepend() {
 	for i in $(find ${S} -name "Makefile") ; do
 		sed -i -e 's:${STAGING_LIBDIR_NATIVE}:${STAGING_LIBDIR}:g' \
 		       -e s:-L/usr/local/lib::g \
-			   -e 's:\"$(CC)\":\"${CC}\" LD=\"${LD}\" LDFLAGS=\"${LDFLAGS}\":g' \
-		       -e s:${STAGING_INCDIR_NATIVE}/python2.6:${STAGING_INCDIR}/python2.6:g $i 
+		       -e 's:\"$(CC)\":\"${CC}\" LD=\"${LD}\" LDFLAGS=\"${LDFLAGS}\":g' \
+		       -e s:${STAGING_INCDIR_NATIVE}/python2.6:${STAGING_INCDIR}/python2.6:g $i
 	done
 }
 
@@ -35,5 +35,3 @@ python populate_packages_prepend () {
 	do_split_packages(d, hamlib_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'hamlib %s development package', extra_depends='${PN}-dev')
 	do_split_packages(d, hamlib_libdir, '^lib(.*)\.so\.*', 'lib%s', 'hamlib %s library', extra_depends='', allow_links=True)
 }
-
-
-- 
1.7.2.3

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-31 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-31 11:11 [PATCH] hamlib: fix indentation and whitespace; move `SRC_URI[*sum]` to common place Paul Menzel
2010-12-31 12:43 ` Koen Kooi

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.