Merge pull request #834 from uberhacker/change-from-sha1-to-sha256-i-l

Change packages i-l from sha1 to sha256
This commit is contained in:
lyxell
2017-07-02 16:53:53 +02:00
committed by GitHub
63 changed files with 117 additions and 120 deletions

View File

@@ -5,7 +5,7 @@ class Icu4c < Package
homepage 'http://site.icu-project.org/'
version '58.2'
source_url 'http://download.icu-project.org/files/icu4c/58.2/icu4c-58_2-src.tgz'
source_sha1 'b67913c90a484c59fda011797c6f3959d84bdc7c'
source_sha256 '2b0a4410153a9b20de0e20c7d8b66049a72aef244b53683d0d7521371683da0c'
def self.build
FileUtils.cd('source') do
@@ -13,10 +13,10 @@ class Icu4c < Package
system "make"
end
end
def self.install
FileUtils.cd('source') do
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
end
end

View File

@@ -5,10 +5,10 @@ class Iftop < Package
homepage 'http://www.ex-parrot.com/pdw/iftop/'
version '0.17'
source_url 'http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz'
source_sha1 '75ce6afc8c0bf851278b0a15e66f523af90cfda9'
source_sha256 'd032547c708307159ff5fd0df23ebd3cfa7799c31536fa0aea1820318a8e0eac'
depends_on "libpcap"
depends_on "ncurses"
depends_on 'libpcap'
depends_on 'ncurses'
def self.build
system './configure --prefix=/usr/local CPPFLAGS="-I/usr/local/include/ncurses"'

View File

@@ -3,10 +3,10 @@ require 'package'
class Imagemagick < Package
description 'Use ImageMagick to create, edit, compose, or convert bitmap images.'
homepage 'http://www.imagemagick.org/script/index.php'
version '7.0.5-4'
source_url 'https://www.imagemagick.org/download/ImageMagick-7.0.5-4.tar.xz'
source_sha1 '118b2d1753cf5eb0761ea8dac068e24217b8e32b'
version '7.0.6-0'
source_url 'https://www.imagemagick.org/download/ImageMagick-7.0.6-0.tar.xz'
source_sha256 '31587e2aa4d46301461329fd88d4ed6fccb0bd4ae786d629a153df72dbac89ee'
depends_on 'pkgconfig'
def self.build

View File

@@ -1,12 +1,11 @@
require 'package'
class Inetutils < Package
description 'The Inetutils package contains programs for basic networking. Such as dnsdomainname, ftp, hostname, ifconfig, ping,
ping6, talk, telnet, tftp, traceroute'
description 'The Inetutils package contains programs for basic networking. Such as dnsdomainname, ftp, hostname, ifconfig, ping, ping6, talk, telnet, tftp, traceroute'
homepage 'https://www.gnu.org/software/inetutils/'
version '1.9.4'
source_url 'https://ftp.gnu.org/gnu/inetutils/inetutils-1.9.4.tar.xz'
source_sha1 '5e515cc9da142cb73bb1beda137b4c2dcf2b528c'
source_sha256 '849d96f136effdef69548a940e3e0ec0624fc0c81265296987986a0dd36ded37'
depends_on 'buildessential'

View File

@@ -10,10 +10,10 @@ class Isl < Package
i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/isl-0.18-chromeos-i686.tar.xz',
x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/isl-0.18-chromeos-x86_64.tar.xz',
})
binary_sha1 ({
aarch64: 'c954cc42a2129cd179ec1554c8c0bb66ea1ff242',
armv7l: 'c954cc42a2129cd179ec1554c8c0bb66ea1ff242',
i686: 'ffd99eb6b19cd83856a58c10bbc55a634c37e520',
x86_64: '56e335db9d66b91d0943fe1597b20eb23d05bc94',
binary_sha256 ({
aarch64: 'f792f6c917c12e8319f00b7a536f974b7040276ded9a00045b91a7cbe0ac61f1',
armv7l: 'f792f6c917c12e8319f00b7a536f974b7040276ded9a00045b91a7cbe0ac61f1',
i686: 'eaeb4f965f2e171fd729a111b5525ef31e2a58f67d5cdc68fc5252f1965127ea',
x86_64: 'a2732f63f643e64c5e75de026c8ef2e339717f249875a762765b750f4691d760',
})
end

View File

@@ -7,18 +7,16 @@ class Jdk8 < Package
case ARCH
when 'i686'
source_url 'http://javadl.oracle.com/webapps/download/AutoDL?BundleId=220303_d54c1d3a095b4ff2b6607d096fa80163'
source_sha1 '20d1a77783a01a592d9bcf3597256caee2ccfce0'
source_sha256 'a773f2fe17061ef637ed2094b06313a99c0b45ba3d3cb7f8f1ebf18448495aeb'
when 'x86_64'
source_url 'http://javadl.oracle.com/webapps/download/AutoDL?BundleId=220305_d54c1d3a095b4ff2b6607d096fa80163'
source_sha1 '9303d3a8e8fc2d2eda014887fd92a6f5883f0170'
source_sha256 '355e5cdb066d4cada1f9f16f358b6fa6280ff5caf7470cf0d5cdd43083408d35'
when 'armv7l'
source_url 'https://www.dropbox.com/s/vcejuitboafaxib/jdk8u22-armv7l.tar.gz'
source_sha1 '913adb900bf0d9d42452a4591c1a9093076ed4b6'
source_sha256 'be13670ce0588a888190a55a63a4a95940b8cd77f6dea3dfeaefe3a9ed800c0b'
when 'aarch64'
source_url 'https://www.dropbox.com/s/vcejuitboafaxib/jdk8u22-armv7l.tar.gz'
source_sha1 '913adb900bf0d9d42452a4591c1a9093076ed4b6'
else
abort 'Unable to install jdk8. Architecture not supported.'.lightred
source_sha256 'be13670ce0588a888190a55a63a4a95940b8cd77f6dea3dfeaefe3a9ed800c0b'
end
def self.install
system "mkdir -p #{CREW_DEST_DIR}/usr/local"

View File

@@ -3,9 +3,9 @@ require 'package'
class Jq < Package
description 'jq is a lightweight and flexible command-line JSON processor.'
homepage 'https://stedolan.github.io/jq/'
version '1.5'
source_url 'https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz'
source_sha1 '6eef3705ac0a322e8aa0521c57ce339671838277'
version '1.5'
source_url 'https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz'
source_sha256 'c4d2bfec6436341113419debf479d833692cc5cdab7eb0326b5a4d4fbe9f493c'
def self.build
system "./configure",

View File

@@ -5,7 +5,7 @@ class Jsonc < Package
homepage 'https://github.com/json-c/json-c/wiki'
version '0.12.1-nodoc'
source_url 'https://s3.amazonaws.com/json-c_releases/releases/json-c-0.12.1-nodoc.tar.gz'
source_sha1 'ffb24acc03110703a88657a64507cc055373f252'
source_sha256 '5a617da9aade997938197ef0f8aabd7f97b670c216dc173977e1d56eef9e1291'
def self.build
system "./configure --prefix=/usr/local"

View File

@@ -5,7 +5,7 @@ class Less < Package
homepage 'https://www.gnu.org/software/less/'
version '487'
source_url 'http://www.greenwoodsoftware.com/less/less-487.tar.gz'
source_sha1 '8a5c4be2a51f11543793defec7ccb77c525f007e'
source_sha256 'f3dc8455cb0b2b66e0c6b816c00197a71bf6d1787078adeee0bcf2aea4b12706'
depends_on 'buildessential' => :build
depends_on 'ncurses'

View File

@@ -1,16 +1,16 @@
require 'package'
class Leveldb < Package
description 'LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.'
homepage 'https://leveldb.googlecode.com/'
version '1.19.0'
source_url 'https://github.com/google/leveldb/archive/v1.19.tar.gz'
source_sha1 '864b45b4a8d1ad400b9115ff6d3c9fb1f79be82b'
source_sha256 '7d7a14ae825e66aabeb156c1c3fae9f9a76d640ef6b40ede74cc73da937e5202'
def self.build
system "make"
end
def self.install
system "mkdir", "-p", "#{CREW_DEST_DIR}/usr/local/include"
system "mkdir", "-p", "#{CREW_DEST_DIR}/usr/local/lib"
@@ -19,5 +19,5 @@ class Leveldb < Package
system "cp", "out-shared/libleveldb.so.1.19", "#{CREW_DEST_DIR}/usr/local/lib"
system "cp", "-P", "out-shared/libleveldb.so.1", "#{CREW_DEST_DIR}/usr/local/lib"
system "cp", "-P", "out-shared/libleveldb.so", "#{CREW_DEST_DIR}/usr/local/lib"
end # during installation
end
end

View File

@@ -5,7 +5,7 @@ class Lha < Package
homepage 'http://freecode.com/projects/lhaforunix'
version '1.14i-ac20040929'
source_url 'http://prdownloads.sourceforge.jp/lha/11617/lha-1.14i-ac20040929.tar.gz'
source_sha1 '2e2eb1ee84fe3fa804fd80e6777d4a30050e017f'
source_sha256 '6da392c63768c931c038cab7cd9939a2b05d390bff6922cc45faeed7b7530b8b'
def self.build
system './configure'

View File

@@ -5,11 +5,11 @@ class Libarchive < Package
homepage 'http://www.libarchive.org/'
version '3.2.2'
source_url 'http://www.libarchive.org/downloads/libarchive-3.2.2.tar.gz'
source_sha1 'ccf14e3b4ec7c6b242cf07062dd40e82a17485a5'
source_sha256 '691c194ee132d1f0f7a42541f091db811bc2e56f7107e9121be2bc8c04f1060f'
depends_on "acl"
depends_on "attr"
depends_on "lz4"
depends_on 'acl'
depends_on 'attr'
depends_on 'lz4'
def self.build
system "./configure --prefix=/usr/local --disable-static"
@@ -17,6 +17,6 @@ class Libarchive < Package
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end

View File

@@ -5,7 +5,7 @@ class Libass < Package
homepage 'https://github.com/libass/libass'
version '0.13.6'
source_url 'https://github.com/libass/libass/archive/0.13.6.tar.gz'
source_sha1 '10fc35f8aba2a4a37aaed482a4184d144defb3d8'
source_sha256 'de68288397d284a955061b3ecba67152cea74d8ace6222d987dd30091b1534b7'
depends_on 'automake'
depends_on 'autoconf'

View File

@@ -5,7 +5,7 @@ class Libassuan < Package
homepage 'https://www.gnupg.org/related_software/libassuan/index.html'
version '2.4.3'
source_url 'https://www.gnupg.org/ftp/gcrypt/libassuan/libassuan-2.4.3.tar.bz2'
source_sha1 '27391cf4a820b5350ea789c30661830c9a271518'
source_sha256 '22843a3bdb256f59be49842abf24da76700354293a066d82ade8134bb5aa2b71'
def self.build
system './configure --prefix=/usr/local'
@@ -13,6 +13,6 @@ class Libassuan < Package
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end

View File

@@ -5,7 +5,7 @@ class Libcap < Package
homepage 'https://directory.fsf.org/wiki/Libcap'
version '2.25'
source_url 'https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.25.tar.xz'
source_sha1 'f0b102e4a68e1bbdcb6b143b63c34a250e473088'
source_sha256 '693c8ac51e983ee678205571ef272439d83afe62dd8e424ea14ad9790bc35162'
def self.build
# change the path to ld

View File

@@ -5,7 +5,7 @@ class Libedit < Package
homepage 'http://thrysoee.dk/editline/'
version '3.1'
source_url 'http://thrysoee.dk/editline/libedit-20160903-3.1.tar.gz'
source_sha1 '55e327ee4661b13d20ebb411d790f2bb258271cf'
source_sha256 '0ccbd2e7d46097f136fcb1aaa0d5bc24e23bb73f57d25bee5a852a683eaa7567'
def self.build
system './configure --prefix=/usr/local CPPFLAGS="-I/usr/local/include/ncurses"'
@@ -13,6 +13,6 @@ class Libedit < Package
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end

View File

@@ -1,18 +1,18 @@
require 'package'
class Libevent < Package
description 'The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached.'
homepage 'http://libevent.org/'
version '2.1.8'
source_url 'https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz'
source_sha1 '2a1b8bb7a262d3fd0ed6a080a20991a6eed675ec'
source_sha256 '965cc5a8bb46ce4199a47e9b2c9e1cae3b137e8356ffdad6d94d3b9069b71dc2'
depends_on 'openssl'
def self.build
system "./configure"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end

View File

@@ -5,7 +5,7 @@ class Libfdkaac < Package
homepage 'https://github.com/mstorsjo/fdk-aac/'
version '0.1.5'
source_url 'https://github.com/mstorsjo/fdk-aac/archive/v0.1.5.tar.gz'
source_sha1 '2894bd6d21066bfdf65a2f8cb6d2ca2dde597194'
source_sha256 'ff53d1d01cacc29c071e23192dfefa93bdbeaf775fc5d296259b4859d0306b79'
depends_on 'automake'

View File

@@ -5,7 +5,7 @@ class Libffi < Package
homepage 'https://sourceware.org/libffi/'
version '3.2.1-2'
source_url 'ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz'
source_sha1 '280c265b789e041c02e5c97815793dfc283fb1e6'
source_sha256 'd06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37'
def self.build
system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--enable-shared", "--disable-static", "--with-pic", "--disable-debug", "--disable-dependency-tracking"

View File

@@ -5,7 +5,7 @@ class Libfrei0r < Package
homepage 'https://frei0r.dyne.org/'
version '1.6.0'
source_url 'https://github.com/dyne/frei0r/archive/v1.6.0.tar.gz'
source_sha1 'a8214add5828e20ff49239ed3a462acaa8c1ebb2'
source_sha256 '63cae9d20d23b9d9e1ffb3fa053295914417c3e005194c077a0753d04636831c'
depends_on 'cmake'

View File

@@ -5,9 +5,9 @@ class Libgcrypt < Package
homepage 'https://www.gnupg.org/related_software/libgcrypt/index.html'
version '1.7.6'
source_url 'https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.7.6.tar.bz2'
source_sha1 'd2b9e0f413064cfc67188f80d3cbda887c755a62'
source_sha256 '626aafee84af9d2ce253d2c143dc1c0902dda045780cc241f39970fc60be05bc'
depends_on "libgpgerror"
depends_on 'libgpgerror'
def self.build
system "./configure --prefix=/usr/local"
@@ -15,6 +15,6 @@ class Libgcrypt < Package
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end

View File

@@ -5,7 +5,7 @@ class Libgd < Package
homepage 'https://libgd.github.io/'
version '2.2.4'
source_url 'https://github.com/libgd/libgd/archive/gd-2.2.4.tar.gz'
source_sha1 '630daec16fe06e4e916fd0fa8499c8fa5c0dcbca'
source_sha256 'afdd50db677648cb9335b2dda10dd3a6700d97feb21fe802e6ee0f7065acd8c4'
depends_on 'cmake'
depends_on 'libpng'

View File

@@ -5,7 +5,7 @@ class Libgpgerror < Package
homepage 'https://www.gnupg.org/related_software/libgpg-error/index.html'
version '1.26'
source_url 'ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.26.tar.bz2'
source_sha1 '9a926e7ee6309e539313443555535d49a2a5c9f1'
source_sha256 '4c4bcbc90116932e3acd37b37812d8653b1b189c1904985898e860af818aee69'
def self.build
system "./configure --prefix=/usr/local"
@@ -13,6 +13,6 @@ class Libgpgerror < Package
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end

View File

@@ -5,7 +5,7 @@ class Libjpeg < Package
homepage 'http://www.ijg.org/'
version '9.1-1'
source_url 'http://www.ijg.org/files/jpegsrc.v9a.tar.gz'
source_sha1 'd65ed6f88d318f7380a3a5f75d578744e732daca'
source_sha256 '3a753ea48d917945dd54a2d97de388aa06ca2eb1066cbfdc6652036349fe05a7'
def self.build
system "./configure --includedir=/usr/local/include CFLAGS=\" -fPIC\""

View File

@@ -5,7 +5,7 @@ class Libksba < Package
homepage 'https://www.gnupg.org/related_software/libksba/index.html'
version '1.3.5'
source_url 'https://www.gnupg.org/ftp/gcrypt/libksba/libksba-1.3.5.tar.bz2'
source_sha1 'a98385734a0c3f5b713198e8d6e6e4aeb0b76fde'
source_sha256 '41444fd7a6ff73a79ad9728f985e71c9ba8cd3e5e53358e70d5f066d35c1a340'
depends_on 'npth'
@@ -15,6 +15,6 @@ class Libksba < Package
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end

View File

@@ -5,7 +5,7 @@ class Libmp3lame < Package
homepage 'http://lame.sourceforge.net/'
version '3.99.5'
source_url 'https://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz'
source_sha1 '03a0bfa85713adcc6b3383c12e2cc68a9cfbf4c4'
source_sha256 '24346b4158e4af3bd9f2e194bb23eb473c75fb7377011523353196b19b9a23ff'
def self.build
system "./configure"

View File

@@ -5,7 +5,7 @@ class Libnl3 < Package
homepage 'http://www.infradead.org/~tgr/libnl/'
version '3.2.25'
source_url 'http://www.infradead.org/~tgr/libnl/files/libnl-3.2.25.tar.gz'
source_sha1 'b7a4981f7edf7398256d35fd3c0b87bc84ae27d1'
source_sha256 '8beb7590674957b931de6b7f81c530b85dc7c1ad8fbda015398bc1e8d1ce8ec5'
depends_on "buildessential" => :build
depends_on "glibc"

View File

@@ -5,7 +5,7 @@ class Libogg < Package
homepage 'https://xiph.org/ogg/'
version '1.3.1'
source_url 'http://downloads.xiph.org/releases/ogg/libogg-1.3.1.tar.xz'
source_sha1 'a4242415a7a9fd71f3092af9ff0b9fa630e4d7bd'
source_sha256 '3a5bad78d81afb78908326d11761c0fb1a0662ee7150b6ad587cc586838cdcfa'
def self.build
system "./configure"

View File

@@ -5,7 +5,7 @@ class Libopencoreamr < Package
homepage 'https://sourceforge.net/projects/opencore-amr/'
version '0.1.5'
source_url 'https://downloads.sourceforge.net/project/opencore-amr/opencore-amr/opencore-amr-0.1.5.tar.gz'
source_sha1 'bef4d1e3a8a155b47569b6691a223843b33e279e'
source_sha256 '2c006cb9d5f651bfb5e60156dbff6af3c9d35c7bbcc9015308c0aff1e14cd341'
def self.build
system "./configure"

View File

@@ -5,7 +5,7 @@ class Libopus < Package
homepage 'http://opus-codec.org/'
version '1.1.5'
source_url 'https://archive.mozilla.org/pub/opus/opus-1.1.5.tar.gz'
source_sha1 'fb6d55cf73059bd916790960c2eeffe83edabafe'
source_sha256 'eb84981ca0f40a3e5d5e58d2e8582cb2fee05a022825a6dfe14d14b04eb563e4'
def self.build
system "./configure --prefix=/usr/local \

View File

@@ -5,7 +5,7 @@ class Libpcap < Package
homepage 'http://www.tcpdump.org/'
version '1.8.1'
source_url 'http://www.tcpdump.org/release/libpcap-1.8.1.tar.gz'
source_sha1 '32d7526dde8f8a2f75baf40c01670602aeef7e39'
source_sha256 '673dbc69fdc3f5a86fb5759ab19899039a8e5e6c631749e48dcd9c6f0c83541e'
depends_on "buildessential"
depends_on "bison"

View File

@@ -1,17 +1,17 @@
require 'package'
class Libpipeline < Package
description 'libpipeline is a C library for manipulating pipelines of subprocesses in a flexible and convenient way.'
homepage 'http://libpipeline.nongnu.org/'
version '1.4.1-2'
source_url 'https://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.4.1.tar.gz'
source_sha1 'b31cc955f22b1aa4545dc8d00ddbde831936594f'
source_sha256 'da46d7b20163aadb9db2faae483f734e9096a7550c84b94029abeab62dd1b9ee'
def self.build
system './configure', "--libdir=#{CREW_LIB_PREFIX}", '--disable-static', '--enable-shared', '--with-pic'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end

View File

@@ -5,7 +5,7 @@ class Libpng < Package
homepage 'http://libpng.org/pub/png/libpng.html'
version '1.6.28'
source_url 'http://prdownloads.sourceforge.net/libpng/libpng-1.6.28.tar.gz'
source_sha1 '004556d65f21baed83755f8e094112711e39ebae'
source_sha256 'b6cec903e74e9fdd7b5bbcde0ab2415dd12f2f9e84d9e4d9ddd2ba26a41623b2'
def self.build
system "./configure CFLAGS=\" -fPIC\""

View File

@@ -5,7 +5,7 @@ class Libsdl < Package
homepage 'http://www.libsdl.org/'
version '1.2.15'
source_url 'http://www.libsdl.org/release/SDL-1.2.15.tar.gz'
source_sha1 '0c5f193ced810b0d7ce3ab06d808cbb5eef03a2c'
source_sha256 'd6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00'
def self.build
system "./configure"

View File

@@ -5,7 +5,7 @@ class Libsigsegv < Package
homepage 'https://www.gnu.org/software/libsigsegv/'
version '2.11'
source_url 'ftp://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.11.tar.gz'
source_sha1 '186dea8ae788395476bd7cbaf38c17ebe82e1777'
source_sha256 'dd7c2eb2ef6c47189406d562c1dc0f96f2fc808036834d596075d58377e37a18'
def self.build
system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--enable-shared", "--disable-static", "--with-pic"

View File

@@ -5,13 +5,13 @@ class Libslz < Package
homepage 'https://github.com/haproxy/libslz'
version '1.1.0'
source_url 'http://git.1wt.eu/web?p=libslz.git;a=snapshot;h=afa04ae1f976957cf36287cc5370998d0559bc63;sf=tbz2'
source_sha1 '20d8a90c6a0949bfb15547ead0636e416366ac44'
source_sha256 '45527de53bca42faad9ad4078893c5e9a633e15c86eb9b06218d5b97e12f2096'
def self.build
system "make PREFIX=/usr/local"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end

View File

@@ -5,7 +5,7 @@ class Libsoxr < Package
homepage 'https://sourceforge.net/projects/soxr/'
version '0.1.2'
source_url 'https://sourceforge.net/projects/soxr/files/soxr-0.1.2-Source.tar.xz'
source_sha1 '3b990f91dc8dc08e70626cd5fb90deda0239c211'
source_sha256 '54e6f434f1c491388cd92f0e3c47f1ade082cc24327bdc43762f7d1eefe0c275'
depends_on 'cmake'

View File

@@ -5,7 +5,7 @@ class Libsqlite3 < Package
homepage 'https://github.com/LuaDist/libsqlite3'
version '3.7.7.1'
source_url 'https://github.com/LuaDist/libsqlite3/archive/3.7.7.1.tar.gz'
source_sha1 '43a8eaad04a2220e9ede5764da8edba4003ad33a'
source_sha256 'b1eb700a46a7429a1a587fadd31e8ef5a3fd84bb6a75b898715baf71fedc412e'
def self.build
system "./configure"

View File

@@ -5,7 +5,7 @@ class Libssh2 < Package
homepage 'https://www.libssh2.org/'
version '1.8.0'
source_url 'https://www.libssh2.org/download/libssh2-1.8.0.tar.gz'
source_sha1 'baf2d1fb338eee531ba9b6b121c64235e089e0f5'
source_sha256 '39f34e2f6835f4b992cafe8625073a88e5a28ba78f83e8099610a7b3af4676d4'
depends_on 'openssl' => :build
depends_on 'zlibpkg' => :build

View File

@@ -5,7 +5,7 @@ class Libtasn1 < Package
homepage 'https://www.gnu.org/software/libtasn1/'
version '4.10-1'
source_url 'http://ftpmirror.gnu.org/libtasn1/libtasn1-4.10.tar.gz'
source_sha1 'c7b36fa50866bbc889f7503c7fd1e9f9d7c52a64'
source_sha256 '681a4d9a0d259f2125713f2e5766c5809f151b3a1392fd91390f780b4b8f5a02'
# bison, diff, cmp are required at compile-time
depends_on 'buildessential' => :build

View File

@@ -5,7 +5,7 @@ class Libtheora < Package
homepage 'https://theora.org/'
version '1.1.1'
source_url 'http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2'
source_sha1 '8dcaa8e61cd86eb1244467c0b64b9ddac04ae262'
source_sha256 'b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc'
depends_on 'libvorbis'
depends_on 'libsdl'

View File

@@ -5,7 +5,7 @@ class Libtiff < Package
homepage 'http://www.libtiff.org/'
version '4.0.7-1'
source_url 'ftp://download.osgeo.org/libtiff/tiff-4.0.7.tar.gz'
source_sha1 '2c1b64478e88f93522a42dd5271214a0e5eae648'
source_sha256 '9f43a2cfb9589e5cecaa66e16bf87f814c945f22df7ba600d63aac4632c4f019'
def self.build
system "./configure CFLAGS=\" -fPIC\""

View File

@@ -5,7 +5,7 @@ class Libtool < Package
homepage 'https://www.gnu.org/software/libtool/'
version '2.4.6'
source_url 'https://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.gz'
source_sha1 '25b6931265230a06f0fc2146df64c04e5ae6ec33'
source_sha256 'e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3'
depends_on 'buildessential'

View File

@@ -5,7 +5,7 @@ class Libunbound < Package
homepage 'https://www.unbound.net/'
version '1.6.2'
source_url 'https://www.unbound.net/downloads/unbound-1.6.2.tar.gz'
source_sha1 'de370b1ac8e260db9c4c1504453752713dd8818f'
source_sha256 '1a323d72c32180b7141c9e6ebf199fc68a0208dfebad4640cd2c4c27235e3b9c'
depends_on 'flex' => :build
depends_on 'bison' => :build

View File

@@ -5,9 +5,9 @@ class Libunistring < Package
homepage 'https://www.gnu.org/software/libunistring/'
version '0.9.7'
source_url 'http://ftp.gnu.org/gnu/libunistring/libunistring-0.9.7.tar.xz'
source_sha1 '7d92687a50fea7702e8052486dfa25ffc361c9f3'
source_sha256 '2e3764512aaf2ce598af5a38818c0ea23dedf1ff5460070d1b6cee5c3336e797'
depends_on "glibc"
depends_on 'glibc'
def self.build
system "./configure --prefix=/usr/local"
@@ -15,6 +15,6 @@ class Libunistring < Package
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end

View File

@@ -5,7 +5,7 @@ class Libunwind < Package
homepage 'http://www.nongnu.org/libunwind/'
version '1.2'
source_url 'http://download.savannah.gnu.org/releases/libunwind/libunwind-1.2.tar.gz'
source_sha1 'a33e52d7ecd18b9375508369b566eeb2cc6eec3b'
source_sha256 '1de38ffbdc88bd694d10081865871cd2bfbb02ad8ef9e1606aee18d65532b992'
depends_on 'buildessential' => :build
depends_on 'openssl' => :build

View File

@@ -5,7 +5,7 @@ class Libuv < Package
homepage 'http://libuv.org/'
version '1.9.1'
source_url 'http://dist.libuv.org/dist/v1.9.1/libuv-v1.9.1.tar.gz'
source_sha1 '668d636372e3276aecc6082082a86f86ddb67877'
source_sha256 'e83953782c916d7822ef0b94e8115ce5756fab5300cca173f0de5f5b0e0ae928'
depends_on 'glibc'
@@ -16,6 +16,6 @@ class Libuv < Package
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end

View File

@@ -5,7 +5,7 @@ class Libvoamrwbenc < Package
homepage 'https://sourceforge.net/projects/opencore-amr/'
version '0.1.3'
source_url 'https://downloads.sourceforge.net/project/opencore-amr/vo-amrwbenc/vo-amrwbenc-0.1.3.tar.gz'
source_sha1 '427a147a378d258614d5d470f1f222e249535be7'
source_sha256 '5652b391e0f0e296417b841b02987d3fd33e6c0af342c69542cbb016a71d9d4e'
def self.build
system "./configure"

View File

@@ -5,7 +5,7 @@ class Libvorbis < Package
homepage 'https://xiph.org/vorbis/'
version '1.3.3'
source_url 'http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.3.tar.xz'
source_sha1 '31d1a0ec4815bf1ee638b0f2850f03efcd48022a'
source_sha256 '834c7d35a5ebf4e7b8ab60b0979f2b7f204ca66ff6829728e9d2a67f15347ebd'
depends_on 'libogg'

View File

@@ -5,7 +5,7 @@ class Libwebp < Package
homepage 'https://developers.google.com/speed/webp/'
version '0.6.0'
source_url 'https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-0.6.0.tar.gz'
source_sha1 '156d24fff454bfccd1f44434e226a10d9eb38186'
source_sha256 'c928119229d4f8f35e20113ffb61f281eda267634a8dc2285af4b0ee27cf2b40'
def self.build
system "./configure"

View File

@@ -5,7 +5,7 @@ class Libx264 < Package
homepage 'http://www.videolan.org/developers/x264.html'
version '20170604-2245-stable'
source_url 'http://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20170604-2245-stable.tar.bz2'
source_sha1 '8003044b45010b1b4b40ac3dd8be98d80c888ece'
source_sha256 '42fa7cc6af0af36e4a8286ce724e6d20de0967d9017640883e955b4b6d3690ac'
depends_on 'yasm'

View File

@@ -5,7 +5,7 @@ class Libx265 < Package
homepage 'http://x265.org/'
version '2.4'
source_url 'https://bitbucket.org/multicoreware/x265/downloads/x265_2.4.tar.gz'
source_sha1 'f8bfb348defa86fbfdce4dcc1d0c48c855e0e987'
source_sha256 '9c2aa718d78f6fecdd783f08ab83b98d3169e5f670404da4c16439306907d729'
depends_on 'cmake'
depends_on 'yasm'

View File

@@ -5,7 +5,7 @@ class Libxml2 < Package
homepage 'http://xmlsoft.org/'
version '2.9.4'
source_url 'ftp://xmlsoft.org/libxml2/libxml2-2.9.4.tar.gz'
source_sha1 '958ae70baf186263a4bd801a81dd5d682aedd1db'
source_sha256 'ffb911191e509b966deb55de705387f14156e1a56b21824357cdf0053233633c'
def self.build
system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--enable-shared", "--disable-static", "--with-pic", "--without-python"

View File

@@ -5,7 +5,7 @@ class Libxslt < Package
homepage 'http://xmlsoft.org/libxslt/'
version '1.1.28-1'
source_url 'http://xmlsoft.org/sources/libxslt-1.1.28.tar.gz'
source_sha1 '4df177de629b2653db322bfb891afa3c0d1fa221'
source_sha256 '5fc7151a57b89c03d7b825df5a0fae0a8d5f05674c0e7cf2937ecec4d54a028c'
def self.build
system "./configure CFLAGS=\" -fPIC\" --without-python"

View File

@@ -5,7 +5,7 @@ class Libxvid < Package
homepage 'https://www.xvid.com/'
version '1.3.4'
source_url 'http://downloads.xvid.org/downloads/xvidcore-1.3.4.tar.gz'
source_sha1 'd8f58e35ec325ebd7de9a28440b725a40ea49dae'
source_sha256 '4e9fd62728885855bc5007fe1be58df42e5e274497591fec37249e1052ae316f'
depends_on 'yasm'

View File

@@ -5,9 +5,9 @@ class Links < Package
homepage 'http://www.jikos.cz/~mikulas/links/'
version '1.03'
source_url 'http://www.jikos.cz/~mikulas/links/download/links-1.03.tar.gz'
source_sha1 '659b2492c97a1416855d3e0f5a5f18aed5160b8a'
source_sha256 '32443c6f011216a8a43ed0806d9d23c1defdd19bc4b021ee00cda197782e175a'
depends_on "openssl"
depends_on 'openssl'
def self.build
system "./configure --prefix=/usr/local"
@@ -15,6 +15,6 @@ class Links < Package
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end

View File

@@ -10,10 +10,10 @@ class Linuxheaders < Package
i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/linux-headers-3.18-chromeos-i686.tar.xz',
x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/linux-headers-3.18-chromeos-x86_64.tar.xz',
})
binary_sha1 ({
aarch64: '783acca9a3afe6c77ecd93f10930c779c3d625a5',
armv7l: '783acca9a3afe6c77ecd93f10930c779c3d625a5',
i686: '965234573d99c99926feb759cdf6e4a70e97c6a0',
x86_64: '87a6f22e6f92614279eba518d6e00432c09d8671',
binary_sha256 ({
aarch64: 'd36e27d2edd0819e37b7b95b7d77d42e3f256e7b4bb845325f394b28d6487b4f',
armv7l: 'd36e27d2edd0819e37b7b95b7d77d42e3f256e7b4bb845325f394b28d6487b4f',
i686: 'fd44ecb2f021cf8ced4e46b1579a0f1a27bc553f41a077745394056afaa3d808',
x86_64: 'cf8f4db6a406ef2d59701902d5981dd864a834ced50e9832d6856174e4271f7d',
})
end

View File

@@ -5,11 +5,11 @@ class Lldb < Package
homepage 'http://lldb.llvm.org/'
version '3.6'
binary_url ({
i686: "https://www.dropbox.com/s/bls4hv4z8m2ifsc/lldb-3.6-i386.tar.gz?dl=0",
x86_64: "https://www.dropbox.com/s/zi3rzdmz2awu8u8/lldb-3.6-64x.tar.gz?dl=0"
i686: 'https://www.dropbox.com/s/bls4hv4z8m2ifsc/lldb-3.6-i386.tar.gz?dl=0',
x86_64: 'https://www.dropbox.com/s/zi3rzdmz2awu8u8/lldb-3.6-64x.tar.gz?dl=0'
})
binary_sha1 ({
i686: "de6ca73c1bcc0d72db81d14cd4e31b8f479e12e8",
x86_64: "6265cacf22b191e22a439019b4a2eb0ef7df3813"
binary_sha256 ({
i686: '7bdb9d0078aa0a6bd1d56df24e076a007a80274dbd0870b7d81a4a9767da49b2',
x86_64: 'ac81a42662a1fde6b6a0dfb9e81be93deefc4ef78f80e67114dfc6fcaf65f4fa'
})
end

View File

@@ -5,7 +5,7 @@ class Llvm < Package
homepage 'http://llvm.org/'
version '3.8.1-1'
source_url 'http://llvm.org/releases/3.8.1/llvm-3.8.1.src.tar.xz'
source_sha1 'e0c48c4c182424b99999367d688cd8ce7876827b'
source_sha256 '6e82ce4adb54ff3afc18053d6981b6aed1406751b8742582ed50f04b5ab475f9'
depends_on 'buildessential'
depends_on 'cmake'
@@ -21,6 +21,6 @@ class Llvm < Package
def self.install
Dir.chdir "mybuilddir" do
system "cmake -DCMAKE_INSTALL_PREFIX=#{CREW_DEST_DIR}/usr/local -P cmake_install.cmake"
end
end
end
end

View File

@@ -3,9 +3,9 @@ require 'package'
class Lshw < Package
description 'lshw (Hardware Lister) is a small tool to provide detailed information on the hardware configuration of the machine.'
homepage 'https://www.ezix.org/project/wiki/HardwareLiSter'
version 'B.02.18'
version 'B.02.18'
source_url 'http://www.ezix.org/software/files/lshw-B.02.18.tar.gz'
source_sha1 'c0240f5e53cf40769d52e316719e8010ea6bdea3'
source_sha256 'ae22ef11c934364be4fd2a0a1a7aadf4495a0251ec6979da280d342a89ca3c2f'
def self.build
system "cd lshw-*/src; PREFIX=/usr/local make"

View File

@@ -5,7 +5,7 @@ class Lua < Package
homepage 'https://www.lua.org/'
version '5.3.4'
source_url 'https://www.lua.org/ftp/lua-5.3.4.tar.gz'
source_sha1 '79790cfd40e09ba796b01a571d4d63b52b1cd950'
source_sha256 'f681aa518233bc407e23acf0f5887c884f17436f000d453b2491a9f11a52400c'
depends_on 'readline'
depends_on 'ncurses'

View File

@@ -5,7 +5,7 @@ class Lz4 < Package
homepage 'http://lz4.github.io/lz4/'
version '1.7.5'
source_url 'https://github.com/lz4/lz4/archive/v1.7.5.tar.gz'
source_sha1 'a710a7d45beb0951806d2b98f0c1739107e97c14'
source_sha256 '0190cacd63022ccb86f44fa5041dc6c3804407ad61550ca21c382827319e7e7e'
def self.build
if `uname -m`.strip == "x86_64"
@@ -16,6 +16,6 @@ class Lz4 < Package
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end

View File

@@ -5,7 +5,7 @@ class Lzip < Package
homepage 'http://www.nongnu.org/lzip/lzip.html'
version '1.19-1'
source_url 'http://download.savannah.gnu.org/releases/lzip/lzip-1.19.tar.gz'
source_sha1 'c6042a786b69e3209112fa991806e2e7e0ba5f07'
source_sha256 'ffadc4f56be1bc0d3ae155ec4527bd003133bdc703a753b2cc683f610e646ba9'
def self.build
# default -O2 cause run-time segmentation fault on armv7l