summaryrefslogtreecommitdiff
path: root/recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2020-06-04 14:23:47 -0500
committerJeff Hatch <jhatch@multitech.com>2020-06-04 14:23:47 -0500
commit2fc1c8f4367fa674940f64927252fd6349a2d63b (patch)
treeeb08d052d64d0814ea1cfc75664b64be68eaffbb /recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb
parente26f94e3f97b755652327f5652ea32f9ebf2b57b (diff)
parente919ef1e33c2cb56856cdbd22792a3bc3f36341d (diff)
downloadmeta-mlinux-atmel-2fc1c8f4367fa674940f64927252fd6349a2d63b.tar.gz
meta-mlinux-atmel-2fc1c8f4367fa674940f64927252fd6349a2d63b.tar.bz2
meta-mlinux-atmel-2fc1c8f4367fa674940f64927252fd6349a2d63b.zip
Merge branch 'test-split' into 'master'
Test split See merge request !1
Diffstat (limited to 'recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb')
-rw-r--r--recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb33
1 files changed, 0 insertions, 33 deletions
diff --git a/recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb b/recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb
deleted file mode 100644
index d06be09..0000000
--- a/recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb
+++ /dev/null
@@ -1,33 +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.3.0
-SRCREV = "2781dbb1ffbf33d7c65478aa25dad5f954d0d3bf"
-
-SRC_URI = "git://github.com/hparra/ruby-serialport.git;protocol=git"
-
-S = "${WORKDIR}/git"
-B = "${S}"
-
-do_compile() {
- rp=$(ls -d ${STAGING_INCDIR}/ruby-* | head -1)
- ${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"