Commit 9152cf9e authored by Ed Reel's avatar Ed Reel

Update ctags

Add pre-built binaries
parent e0eb01a8
......@@ -3,32 +3,30 @@ require 'package'
class Ctags < Package
description 'Exuberant Ctags is a multilanguage reimplementation of the Unix ctags utility.'
homepage 'https://sourceforge.net/projects/ctags/'
version '5.8-0'
source_url 'http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gz'
version '5.8-1'
source_url 'https://downloads.sourceforge.net/project/ctags/ctags/5.8/ctags-5.8.tar.gz'
source_sha256 '0e44b45dcabe969e0bbbb11e30c246f81abe5d32012db37395eb57d66e9e99c7'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/ctags-5.8-0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/ctags-5.8-0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/ctags-5.8-0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/ctags-5.8-0-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/ctags-5.8-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/ctags-5.8-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/ctags-5.8-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/ctags-5.8-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'd9eb4193eca3a4c7939d8e9e35ba63cbf8be084982f98c6ba0d9c4d12f3ca762',
armv7l: 'd9eb4193eca3a4c7939d8e9e35ba63cbf8be084982f98c6ba0d9c4d12f3ca762',
i686: '5afeda5261207a409a7569ec903df5c47845f237dedc9e78bd0a85bed4b780cc',
x86_64: 'ab996808d0c2c63d729e036cd12d5a38829dfb4bf9c5ee240db1f7201a55c723',
aarch64: '7f45accfda62bd74f626024d1a44b9ce3df6a79342f4ef1137cc9abaea3031fc',
armv7l: '7f45accfda62bd74f626024d1a44b9ce3df6a79342f4ef1137cc9abaea3031fc',
i686: '0c691ea7dd4608d4fc3b8b26c53eebefa6c3049b76e3d74fd1df3bc34c0460f9',
x86_64: 'ec5a895588b0b6f56928a44c089b3a52b2eedc8092c1b22994e72fa62442a7ab',
})
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
system "./configure #{CREW_OPTIONS}"
system 'make'
end
def self.install
#system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # it does not work here
system "install -Dm755 ctags #{CREW_DEST_PREFIX}/bin/ctags"
system "gzip -9 ctags.1"
system "install -Dm644 ctags.1.gz #{CREW_DEST_PREFIX}/share/man/man1/ctags.1.gz"
system "install -Dm644 ctags.1 #{CREW_DEST_MAN_PREFIX}/man1/ctags.1"
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