Files
chromebrew/packages/mujs.rb
chromebrew-actions[bot] 38439537ab gparted -> 1.8.1 in updater-gparted-1.8.1 — gparted: 1.8.0 → 1.8.1 (#15055)
* 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>
2026-03-19 00:13:29 +00:00

31 lines
910 B
Ruby

require 'package'
class Mujs < Package
description 'An embeddable Javascript interpreter in C'
homepage 'https://mujs.com/'
version '1.3.9'
license 'ISC'
compatibility 'all'
source_url 'https://github.com/ArtifexSoftware/mujs.git'
git_hashtag version
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'b6d0fda3ba3952a468b08e00e4ad99389d974d841c8c2063a570b55a026cd984',
armv7l: 'b6d0fda3ba3952a468b08e00e4ad99389d974d841c8c2063a570b55a026cd984',
i686: '92448403a79d77445d8726fac103de481913229f6e7ed65aa15cf4c2b91b2cf4',
x86_64: 'ce14606a0e778e72f725353e2c247e8fe99aaa857d875648da3e9da727397464'
})
depends_on 'glibc' # R
depends_on 'readline' => :executable
def self.build
system 'make', 'release'
end
def self.install
system 'make', "prefix=#{CREW_PREFIX}", "libdir=#{CREW_LIB_PREFIX}", "DESTDIR=#{CREW_DEST_DIR}", 'install-shared'
end
end