Files
chromebrew/packages/enscript.rb
Satadru Pramanik, DO, MPH, MEng 3e0e7f9c00 Adjust gnu sources to not use ftpmirror. — a2ps: 4.15.6 → 4.15.6,alive: 2.0.5 → 2.0.5,aspell_fr: 0.50-3 → 0.50-3,autoconf: 2.72 → 2.72,autoconf_archive: 2024.10.16 → 2024.10.16,automake: 1.18.1 → 1.18.1,bc: 1.08.2 → 1.08.2,bison: 3.8.... (#14775)
* Adjust gnu sources to not use ftpmirror.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* ed => 1.22.5

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Mark packages from successful builds as automatically buildable.

* gnu_avoid_ftpmirror: Package File Update Run on linux/386 container.

* gnu_avoid_ftpmirror: Package File Update Run on linux/amd64 container.

* gnu_avoid_ftpmirror: Package File Update Run on linux/arm/v7 container.

* Truncate PR Title length as per GitHub requirements.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust gnuastro compatibility.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Ed Reel <edreel@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
2026-02-23 19:25:09 +00:00

36 lines
1.1 KiB
Ruby

require 'package'
class Enscript < Package
description 'GNU Enscript is a free replacement for Adobe\'s enscript program.'
homepage 'https://www.gnu.org/software/enscript/'
version '1.6.6'
license 'GPL-3'
compatibility 'all'
source_url 'https://ftp.gnu.org/gnu/enscript/enscript-1.6.6.tar.gz'
source_sha256 '6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb'
binary_compression 'tar.xz'
binary_sha256({
aarch64: '316ed484d08cfbe16632937379a05366b9841e986e351fd3d4061f474e046725',
armv7l: '316ed484d08cfbe16632937379a05366b9841e986e351fd3d4061f474e046725',
i686: '4332bbf72b8622a2ecbc84e58f55b1515ce66c3d678c69c1f28402cfc6e2a7e3',
x86_64: '638519de1bdfc08816d511f8ad468213d78293a77a26295630a0266b664582c9'
})
depends_on 'flex' => :executable_only
depends_on 'glibc' => :executable_only
depends_on 'libpth'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode'
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end