diff options
author | Jesse Gilles <jgilles@multitech.com> | 2013-04-18 11:59:11 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2013-04-18 11:59:11 -0500 |
commit | e1a615bb3a45714c6a03718cad69d9eb52466a0c (patch) | |
tree | ffa3b2d980810c1a20db0b8630b5ebd1e9952f84 /multitech/recipes | |
parent | 55fa64278b0c3dda9144b0fac0d133e70dacdc5f (diff) |
ruby-serialport_1.1.0: recipe cleanup
Diffstat (limited to 'multitech/recipes')
-rw-r--r-- | multitech/recipes/ruby-serialport/ruby-serialport_1.1.0.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/multitech/recipes/ruby-serialport/ruby-serialport_1.1.0.bb b/multitech/recipes/ruby-serialport/ruby-serialport_1.1.0.bb index 8dcdc9c..6567451 100644 --- a/multitech/recipes/ruby-serialport/ruby-serialport_1.1.0.bb +++ b/multitech/recipes/ruby-serialport/ruby-serialport_1.1.0.bb @@ -6,7 +6,7 @@ PRIORITY = "optional" DEPENDS = "ruby" -PR = "r1" +PR = "r2" PACKAGES = "${PN}-dbg ${PN}" SRC_URI = "git://github.com/hparra/ruby-serialport.git;tag=v1.1.0;protocol=git" @@ -14,14 +14,14 @@ SRC_URI = "git://github.com/hparra/ruby-serialport.git;tag=v1.1.0;protocol=git" S = "${WORKDIR}/git" do_compile() { - ${CC} ${CFLAGS} ${LDFLAGS} -I${WORKDIR}/git/ext/native -I${STAGING_INCDIR}/ruby-1.9.1 -I${STAGING_INCDIR}/ruby-1.9.1/arm-linux-eabi -c ${WORKDIR}/git/ext/native/*.c - ${CC} ${CFLAGS} ${LDFLAGS} --shared -o ${WORKDIR}/git/ext/native/serialport.so ${WORKDIR}/git/serialport.o ${WORKDIR}/git/posix_serialport_impl.o + ${CC} ${CFLAGS} ${LDFLAGS} -Iext/native -I${STAGING_INCDIR}/ruby-1.9.1 -I${STAGING_INCDIR}/ruby-1.9.1/arm-linux-eabi -c ext/native/*.c + ${CC} ${CFLAGS} ${LDFLAGS} --shared -o ext/native/serialport.so serialport.o posix_serialport_impl.o } do_install() { install -d ${D}${libdir}/ruby/1.8 ${D}${libdir}/ruby/serialport - install ${S}/${base_libdir}/serialport.rb ${D}${libdir}/ruby/serialport.rb - install ${S}/ext/native/serialport.so -t ${D}${libdir}/ruby + install lib/serialport.rb ${D}${libdir}/ruby/serialport.rb + install ext/native/serialport.so -t ${D}${libdir}/ruby } FILES_${PN} = "${libdir}/ruby/serialport*" |