mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* gparted -> 1.8.1 in updater-gparted-1.8.1 * updater-gparted-1.8.1: Package File Update Run on linux/amd64 container. * updater-gparted-1.8.1: Package File Update Run on linux/arm/v7 container. * updater-gparted-1.8.1: Package File Update Run on linux/amd64 container. * Cleanup gparted. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update dependencies to use :executable instead of :executable_only Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com>
51 lines
1.6 KiB
Ruby
51 lines
1.6 KiB
Ruby
require 'package'
|
|
|
|
class Emacs < Package
|
|
description 'An extensible, customizable, free/libre text editor - and more.'
|
|
homepage 'http://www.gnu.org/software/emacs/'
|
|
version '29.1'
|
|
license 'GPL-3+, FDL-1.3+, BSD, HPND, MIT, W3C, unicode, PSF-2'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url 'https://ftp.gnu.org/gnu/emacs/emacs-29.1.tar.xz'
|
|
source_sha256 'd2f881a5cc231e2f5a03e86f4584b0438f83edd7598a09d24a21bd8d003e2e01'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '6ae43bf5c3b04727fd8c2879b94605ce8d3a79c5cbed32c76fd2ec0a55a34ee2',
|
|
armv7l: '6ae43bf5c3b04727fd8c2879b94605ce8d3a79c5cbed32c76fd2ec0a55a34ee2',
|
|
i686: 'd1de460ee14a986d212a9167f74b228e9a67acb1c12ce3b3e85fe0606d55ee1a',
|
|
x86_64: '54767b9f97dae52ee3b6ad63494a1a02b7d9c8f539ad15dc91ef49a4f939c2eb'
|
|
})
|
|
|
|
depends_on 'acl' => :executable
|
|
depends_on 'alsa_lib' => :executable
|
|
depends_on 'dbus' => :executable
|
|
depends_on 'glibc' # R
|
|
depends_on 'glibc' => :executable
|
|
depends_on 'gmp' => :executable
|
|
depends_on 'gnutls' => :executable
|
|
depends_on 'gpm' => :executable
|
|
depends_on 'jansson' => :executable
|
|
depends_on 'lcms'
|
|
depends_on 'lcms' => :executable
|
|
depends_on 'libjpeg_turbo'
|
|
depends_on 'libxml2' # R
|
|
depends_on 'ncurses' => :executable
|
|
depends_on 'sqlite' => :executable
|
|
depends_on 'zlib' => :executable
|
|
|
|
def self.build
|
|
system "./configure \
|
|
--prefix=#{CREW_PREFIX} \
|
|
--localstatedir=#{CREW_PREFIX}/share \
|
|
--with-x=no \
|
|
--without-makeinfo \
|
|
--without-selinux"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
end
|