Commit 3d031885 authored by Michał Siwek's avatar Michał Siwek

Fix indentation of some package.rb files

parent eb2320db
require 'package' require 'package'
class Gnutls < Package class Gnutls < Package
version '3.3.15' version '3.3.15'
source_url 'ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-3.3.15.tar.xz' source_url 'ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-3.3.15.tar.xz'
source_sha1 'd7f66b0aeaf48ff8621cc1913230635ef672f0a4' source_sha1 'd7f66b0aeaf48ff8621cc1913230635ef672f0a4'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'nettle' depends_on 'nettle'
depends_on 'pkgconfig' depends_on 'pkgconfig'
def self.build def self.build
system "./configure" system "./configure"
system "make" system "make"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
require 'package' require 'package'
class Nettle < Package class Nettle < Package
version '2.7.1' version '2.7.1'
source_url 'https://ftp.gnu.org/gnu/nettle/nettle-2.7.1.tar.gz' source_url 'https://ftp.gnu.org/gnu/nettle/nettle-2.7.1.tar.gz'
source_sha1 'e7477df5f66e650c4c4738ec8e01c2efdb5d1211' source_sha1 'e7477df5f66e650c4c4738ec8e01c2efdb5d1211'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'm4' depends_on 'm4'
def self.build def self.build
system "./configure --libdir=/usr/local/lib" system "./configure --libdir=/usr/local/lib"
system "make" system "make"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
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