From c9515b69abd1fcf8182c930651e9677d249a8212 Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 11 Apr 2017 17:14:40 -0500 Subject: Need ruby-serialport 1.3.1 to avoid gcc errors --- .../ruby-serialport/ruby-serialport_1.3.0.bb | 35 ---------------------- .../ruby-serialport/ruby-serialport_1.3.1.bb | 35 ++++++++++++++++++++++ 2 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 recipes-ruby/ruby-serialport/ruby-serialport_1.3.0.bb create mode 100644 recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb diff --git a/recipes-ruby/ruby-serialport/ruby-serialport_1.3.0.bb b/recipes-ruby/ruby-serialport/ruby-serialport_1.3.0.bb deleted file mode 100644 index 6767e55..0000000 --- a/recipes-ruby/ruby-serialport/ruby-serialport_1.3.0.bb +++ /dev/null @@ -1,35 +0,0 @@ -DESCRIPTION = "A Ruby library that provides a class for using RS-232 serial ports" -HOMEPAGE = "https://github.com/hparra/ruby-serialport" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" -SECTION = "console/utils" -PRIORITY = "optional" - -DEPENDS = "ruby" - -PR = "r2" - -# tag v1.1.0 -SRCREV = "709e385f6d20aaadc7f3252af59250336d27e607" - -SRC_URI = "git://github.com/hparra/ruby-serialport.git;protocol=git" - -S = "${WORKDIR}/git" -B = "${S}" - -do_compile() { - ls -d ${STAGING_INCDIR}/ruby-* >/tmp/ruby.txt - rp=$(ls -d ${STAGING_INCDIR}/ruby-* | head -1) - echo ${rp} >/tmp/ruby2.txt - ${CC} -v ${CFLAGS} ${LDFLAGS} -Iext/native -I${rp} -I${rp}/arm-linux-gnueabi -c ext/native/*.c - ${CC} -v ${CFLAGS} ${LDFLAGS} --shared -o ext/native/serialport.so serialport.o posix_serialport_impl.o -} - -do_install() { - install -d ${D}${libdir}/ruby/serialport - install lib/serialport.rb ${D}${libdir}/ruby/serialport.rb - install ext/native/serialport.so -t ${D}${libdir}/ruby -} - -FILES_${PN} = "${libdir}/ruby/serialport*" -FILES_${PN}-dbg += "${libdir}/ruby/.debug" diff --git a/recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb b/recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb new file mode 100644 index 0000000..c0510e9 --- /dev/null +++ b/recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "A Ruby library that provides a class for using RS-232 serial ports" +HOMEPAGE = "https://github.com/hparra/ruby-serialport" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" +SECTION = "console/utils" +PRIORITY = "optional" + +DEPENDS = "ruby" + +PR = "r2" + +# tag v1.3.0 +SRCREV = "2781dbb1ffbf33d7c65478aa25dad5f954d0d3bf" + +SRC_URI = "git://github.com/hparra/ruby-serialport.git;protocol=git" + +S = "${WORKDIR}/git" +B = "${S}" + +do_compile() { + ls -d ${STAGING_INCDIR}/ruby-* >/tmp/ruby.txt + rp=$(ls -d ${STAGING_INCDIR}/ruby-* | head -1) + echo ${rp} >/tmp/ruby2.txt + ${CC} -v ${CFLAGS} ${LDFLAGS} -Iext/native -I${rp} -I${rp}/arm-linux-gnueabi -c ext/native/*.c + ${CC} -v ${CFLAGS} ${LDFLAGS} --shared -o ext/native/serialport.so serialport.o posix_serialport_impl.o +} + +do_install() { + install -d ${D}${libdir}/ruby/serialport + install lib/serialport.rb ${D}${libdir}/ruby/serialport.rb + install ext/native/serialport.so -t ${D}${libdir}/ruby +} + +FILES_${PN} = "${libdir}/ruby/serialport*" +FILES_${PN}-dbg += "${libdir}/ruby/.debug" -- cgit v1.2.3