From f28a622111aab21a91d5b8122bb7e52568dd576c Mon Sep 17 00:00:00 2001 From: John Klug Date: Mon, 17 Aug 2020 17:18:44 -0500 Subject: Fix modem package dependencies and radio-query --netreg --- .../ruby-serialport/ruby-serialport_1.3.1.bb | 35 ---------------------- recipes-ruby/ruby-sqlite3/ruby-sqlite3_1.3.13.bb | 28 ----------------- recipes-ruby/ruby/ruby_%.bbappend | 4 --- 3 files changed, 67 deletions(-) delete mode 100644 recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb delete mode 100644 recipes-ruby/ruby-sqlite3/ruby-sqlite3_1.3.13.bb delete mode 100644 recipes-ruby/ruby/ruby_%.bbappend (limited to 'recipes-ruby') 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" -- cgit v1.2.3