summaryrefslogtreecommitdiff
path: root/recipes-ruby
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-08-17 17:18:44 -0500
committerJohn Klug <john.klug@multitech.com>2020-11-12 09:25:37 -0600
commitf28a622111aab21a91d5b8122bb7e52568dd576c (patch)
treedf00e38eed6f7744e007bd99f799d95cadba2b98 /recipes-ruby
parent88925616fb1394c21187b60463e473ac2c206900 (diff)
downloadmeta-mlinux-f28a622111aab21a91d5b8122bb7e52568dd576c.tar.gz
meta-mlinux-f28a622111aab21a91d5b8122bb7e52568dd576c.tar.bz2
meta-mlinux-f28a622111aab21a91d5b8122bb7e52568dd576c.zip
Fix modem package dependencies and radio-query --netreg
Diffstat (limited to 'recipes-ruby')
-rw-r--r--recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb35
-rw-r--r--recipes-ruby/ruby-sqlite3/ruby-sqlite3_1.3.13.bb28
-rw-r--r--recipes-ruby/ruby/ruby_%.bbappend4
3 files changed, 0 insertions, 67 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 8f524e3..0000000
--- a/recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.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.3.0
-SRCREV = "2781dbb1ffbf33d7c65478aa25dad5f954d0d3bf"
-
-SRC_URI = "git://github.com/hparra/ruby-serialport.git;protocol=git"
-
-S = "${WORKDIR}/git"
-B = "${S}"
-
-CFLAGS_append +="-fPIC"
-
-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"
diff --git a/recipes-ruby/ruby-sqlite3/ruby-sqlite3_1.3.13.bb b/recipes-ruby/ruby-sqlite3/ruby-sqlite3_1.3.13.bb
deleted file mode 100644
index 82998bc..0000000
--- a/recipes-ruby/ruby-sqlite3/ruby-sqlite3_1.3.13.bb
+++ /dev/null
@@ -1,28 +0,0 @@
-DESCRIPTION = "Ruby bindings for the SQLite3 embedded database"
-HOMEPAGE = "https://github.com/sparklemotion/sqlite3-ruby"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=f24ce0d57c8f8576a36e2803d35bcfec"
-SECTION = "console/utils"
-PRIORITY = "optional"
-
-DEPENDS = "ruby sqlite3"
-
-SRC_URI = "git://github.com/sparklemotion/sqlite3-ruby.git;branch=1-3-stable;tag=v${PV}"
-S = "${WORKDIR}/git"
-
-# Position independent code for shared lib
-CFLAGS += "-fPIC"
-
-do_compile() {
- ${CC} ${CFLAGS} ${LDFLAGS} -Iext/sqlite3 -Iext/native -I${STAGING_INCDIR}/ruby-2.2.0 -I${STAGING_INCDIR}/ruby-2.2.0/arm-linux-gnueabi -c ext/sqlite3/*.c -DHAVE_RB_INTEGER_PACK
- ${CC} ${CFLAGS} ${LDFLAGS} --shared -o ext/sqlite3/sqlite3_native.so *.o -lsqlite3
-}
-
-do_install() {
- install -d ${D}${libdir}/ruby ${D}${libdir}/ruby/sqlite3
- install lib/sqlite3.rb ${D}${libdir}/ruby/sqlite3.rb
- install lib/sqlite3/* ext/sqlite3/sqlite3_native.so -t ${D}${libdir}/ruby/sqlite3
-}
-
-FILES_${PN} = "${libdir}/ruby/sqlite3*"
-FILES_${PN}-dbg += "${libdir}/ruby/sqlite3/.debug*"
diff --git a/recipes-ruby/ruby/ruby_%.bbappend b/recipes-ruby/ruby/ruby_%.bbappend
deleted file mode 100644
index b31d44c..0000000
--- a/recipes-ruby/ruby/ruby_%.bbappend
+++ /dev/null
@@ -1,4 +0,0 @@
-# remove /usr/share/ri from main ruby package
-# using FILES_${PN}_remove doesn't work...
-FILES_ruby_remove = "${datadir}/ri"
-FILES_${PN}-doc += "${datadir}/ri"