Commit 291fb841 authored by Kazushi (Jam) Marukawa's avatar Kazushi (Jam) Marukawa Committed by GitHub

Merge pull request #1050 from flyingP0tat0/patch-16

Add util_linux and update glib
parents 14ca17c8 aa2ccb8d
...@@ -2,31 +2,19 @@ require 'package' ...@@ -2,31 +2,19 @@ require 'package'
class Glib < Package class Glib < Package
description 'GLib provides the core application building blocks for libraries and applications written in C.' description 'GLib provides the core application building blocks for libraries and applications written in C.'
homepage 'https://developer.gnome.org/glib/' homepage 'https://developer.gnome.org/glib'
version '2.40.2-1' version '2.52.3'
source_url 'https://ftp.gnome.org/pub/gnome/sources/glib/2.40/glib-2.40.2.tar.xz' source_url 'https://ftp.gnome.org/pub/gnome/sources/glib/2.52/glib-2.52.3.tar.xz'
source_sha256 'e8ff8af2950897e805408480c454c415d1eade4e670ec5fb507f5e5853726c7a' source_sha256 '25ee7635a7c0fcd4ec91cbc3ae07c7f8f5ce621d8183511f414ded09e7e4e128'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/glib-2.40.2-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/glib-2.40.2-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/glib-2.40.2-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/glib-2.40.2-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '2dac85fcc4af6d049cee58cee774c644f3c7374b53344c62e62f6de90d99784e',
armv7l: '2dac85fcc4af6d049cee58cee774c644f3c7374b53344c62e62f6de90d99784e',
i686: '60e5ff58390596269e5690219afbc37f4c7a3f0808244e8b438ffa787c3deb3c',
x86_64: '3e14b78664198a520486af445ef0ed5a4650d7bbf22bb6e5d1f16c13c3fc7e15',
})
depends_on 'libffi' depends_on 'libffi'
depends_on 'gettext' depends_on 'gettext'
depends_on 'util_linux'
depends_on 'zlibpkg' depends_on 'zlibpkg'
depends_on 'python27' depends_on 'python27'
def self.build def self.build
system "./configure --libdir=#{CREW_LIB_PREFIX}" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX} --with-pcre"
system "make" system "make"
end end
......
require 'package'
class Libcap_ng < Package
description 'The libcap-ng library is intended to make programming with posix capabilities much easier than the traditional libcap library.'
homepage 'https://people.redhat.com/sgrubb/libcap-ng'
version '0.7.8'
source_url 'https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-0.7.8.tar.gz'
source_sha256 'c21af997445cd4107a55d386f955c5ea6f6e96ead693e9151277c0ab5f97d05f'
depends_on 'python3'
def self.build
system "./configure --prefix=#{CREW_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Util_linux < Package
description 'essential linux tools'
homepage 'https://www.kernel.org'
version '2.30'
source_url 'https://www.kernel.org/pub/linux/utils/util-linux/v2.30/util-linux-2.30.tar.xz'
source_sha256 'c208a4ff6906cb7f57940aa5bc3a6eed146e50a7cc0a092f52ef2ab65057a08d'
depends_on 'python27'
depends_on 'libcap_ng'
depends_on 'vdev'
def self.build
system "./configure --prefix=#{CREW_PREFIX}"
system "sed -i '/chgrp/d' ./Makefile"
system "make"
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
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