Commit da9f93e6 authored by lovedheart's avatar lovedheart Committed by Ed Reel

[mtdev] fix libdir (#2251)

parent f265a809
...@@ -3,25 +3,29 @@ require 'package' ...@@ -3,25 +3,29 @@ require 'package'
class Mtdev < Package class Mtdev < Package
description 'The mtdev is a stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol.' description 'The mtdev is a stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol.'
homepage 'http://bitmath.org/code/mtdev' homepage 'http://bitmath.org/code/mtdev'
version '1.1.5' version '1.1.5-0'
source_url 'http://bitmath.org/code/mtdev/mtdev-1.1.5.tar.bz2' source_url 'http://bitmath.org/code/mtdev/mtdev-1.1.5.tar.bz2'
source_sha256 '6677d5708a7948840de734d8b4675d5980d4561171c5a8e89e54adf7a13eba7f' source_sha256 '6677d5708a7948840de734d8b4675d5980d4561171c5a8e89e54adf7a13eba7f'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mtdev-1.1.5-chromeos-armv7l.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mtdev-1.1.5-0-chromeos-x86_64.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mtdev-1.1.5-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mtdev-1.1.5-0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mtdev-1.1.5-chromeos-i686.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mtdev-1.1.5-0-chromeos-armv7l.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mtdev-1.1.5-chromeos-x86_64.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/mtdev-1.1.5-0-chromeos-i686.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'd96cf8121e0f076184adee6bc54f46fbb628aa0d7ae4155ae67dcffcea59eb3a', x86_64: 'ef6142c6cbaa71698acbb2cfcc3c40d5e9674931adfbb7352ce71b9b45c1027f',
armv7l: 'd96cf8121e0f076184adee6bc54f46fbb628aa0d7ae4155ae67dcffcea59eb3a', aarch64: '6c0bbb0650a3777648f106279d11e702c75c01c2b036f113bd8cf0cab6bf463a',
i686: '5bd4010b81ed7c678ba19e5f7d35a4f90558158fa6ff43c378f7bba88279f742', armv7l: '6c0bbb0650a3777648f106279d11e702c75c01c2b036f113bd8cf0cab6bf463a',
x86_64: '588cf1c0f1dee0596d32709345a2cb1dd2a3102802f1b13653b275d5e351cc33', i686: '0a18d63b9ecbd32dabc98e0b63f8514696ffd133227a42173193e828e1e7752f',
}) })
def self.build def self.build
system "./configure" system "./configure",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--enable-shared",
"--disable-static"
system "make" system "make"
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment