mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Update libuuid from 1.0.3 to 1.3.0 (#3658)
Change to a fake package to prevent a collision with util_linux which already has libuuid
This commit is contained in:
@@ -1,26 +1,11 @@
|
||||
require 'package'
|
||||
|
||||
class Libuuid < Package
|
||||
description "Portable UUID C library"
|
||||
homepage "https://sourceforge.net/projects/libuuid/"
|
||||
version '1.0.3'
|
||||
source_url "https://downloads.sourceforge.net/project/libuuid/libuuid-1.0.3.tar.gz"
|
||||
source_sha256 "46af3275291091009ad7f1b899de3d0cea0252737550e7919d17237997db5644"
|
||||
description 'Portable UUID C library'
|
||||
homepage 'https://sourceforge.net/projects/libuuid/'
|
||||
version '1.3.0'
|
||||
|
||||
def self.build
|
||||
system './configure',
|
||||
"--disable-dependency-tracking",
|
||||
"--disable-silent-rules",
|
||||
"--prefix=#{CREW_PREFIX}",
|
||||
"--libdir=#{CREW_LIB_PREFIX}"
|
||||
system 'make'
|
||||
end
|
||||
is_fake
|
||||
|
||||
def self.install
|
||||
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
||||
end
|
||||
|
||||
def self.check
|
||||
system 'make', 'check'
|
||||
end
|
||||
depends_on 'util_linux'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user