mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 07:28:01 -05:00
* Make basic crew-profile-base package * Use crew consts * Upgrade to 0.0.2-pre2 * Convert aa* to cf* * Docbook * aa* to dz* * docbook-xsl * through fz* and fix environment variables * through mz* * through pz* * through zz* * fix crew-profile-base * upgrade crew-profile-base * major crew-profile-base changes * Upgrade crew-profile-base and fix xdg-base * fix sha256sum * Remove stale files * pkgsrc and sommelier * Add crew-profile-base to core packages and ready for merging * Bump versions * prevent conflicts with #5494 * fix sha256sum * fix fop * profile.d is not ours * fix bash * Upgrade crew-profile-base to 0.0.1-pre6 and fix bash * Remove self-referencing comment * Add binaries, fix rust, fix #{@ver} * move compatibility line * add core mandb deps back * File.exists? => File.exist? * deduplicate @env * update packages * Fix gdk_pixbug source url * Add binaries, use rubocop style fixes * Update cf from 6.36.1-1 to 6.53.0 * fix sl * fix depot tools * remove apulse since it conflicts with pulseaudio. * refactor crew_profile_base * first tranche of builds * go * add cf * hunspell * transmission * clean up dependency & env situation for gdk_pixbuf * fix gettext * fix nano * fix intel-media-driver * add zziplib for texlive * fix texlive * split fuse for flatpak * fix flatpak * delete rack (broken and unmaintained) * fix packer completion * modify and fix sl * fix s * fix stressng * fix stack * Add TMPDIR * Remove TMPDIR from build files * Fix aws2 version * Go: remove extraneous dependency * hunspell_fr_fr: use french in description * intel media driver: remove case x86_64 * aws2: quickfix * everything but texlive * texlive * fix stressng * Delete pkgsrc.rb * add back pkgsrc Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Ed Reel <edreel@gmail.com> Co-authored-by: satmandu <satadru@umich.edu>
51 lines
1.8 KiB
Ruby
51 lines
1.8 KiB
Ruby
require 'package'
|
|
|
|
class Mutt < Package
|
|
description 'Mutt is a small but very powerful text-based mail client for Unix operating systems.'
|
|
homepage 'http://mutt.org/'
|
|
version '2.0.6'
|
|
license 'GPL-2'
|
|
compatibility 'all'
|
|
source_url 'ftp://ftp.mutt.org/pub/mutt/mutt-2.0.6.tar.gz'
|
|
source_sha256 '81e31c45895fd624747f19106aa2697d2aa135049ff2e9e9db0a6ed876bcb598'
|
|
|
|
binary_url({
|
|
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mutt-2.0.6-chromeos-armv7l.tar.xz',
|
|
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mutt-2.0.6-chromeos-armv7l.tar.xz',
|
|
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mutt-2.0.6-chromeos-i686.tar.xz',
|
|
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mutt-2.0.6-chromeos-x86_64.tar.xz'
|
|
})
|
|
binary_sha256({
|
|
aarch64: '2f3f18827cb8a2c0a5a48e04397c4c4bf811cad82a8a235081a9f54ba227308f',
|
|
armv7l: '2f3f18827cb8a2c0a5a48e04397c4c4bf811cad82a8a235081a9f54ba227308f',
|
|
i686: 'd43f6599f9c83c487a2302015e1be9c8d28702fe8d8feab092cbc5b37a54e4a4',
|
|
x86_64: '3dedfd9092e58cba771c3af7079bf608b11960df2d30989254187501befccecc'
|
|
})
|
|
|
|
depends_on 'libxslt'
|
|
|
|
def self.build
|
|
system "./configure \
|
|
--prefix=#{CREW_PREFIX} \
|
|
--with-mailpath=#{CREW_PREFIX}/mail \
|
|
--with-sasl=#{CREW_PREFIX}/lib/sasl2 \
|
|
--with-ssl \
|
|
--enable-imap \
|
|
--enable-smtp \
|
|
--enable-hcache"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system "mkdir -p #{CREW_DEST_PREFIX}/mail"
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/env.d/"
|
|
@muttenv = <<~MUTTEOF
|
|
# Mutt configuration
|
|
export SASL_PATH=#{CREW_PREFIX}/lib/sasl2
|
|
MUTTEOF
|
|
IO.write("#{CREW_DEST_PREFIX}/etc/env.d/mutt", @muttenv)
|
|
end
|
|
end
|