Commit 1836f034 authored by superloach's avatar superloach Committed by Ed Reel

Add mypaint-brushes (#2595)

* Add mypaint-brushes

* add patch sha256sum check
parent 27dd32ff
require 'package'
class Mypaint_brushes < Package
description 'Brushes used by MyPaint and other software using libmypaint.'
homepage 'https://github.com/Jehan/mypaint-brushes'
version '1.3.0'
source_url 'https://github.com/Jehan/mypaint-brushes/archive/v1.3.0/mypaint-brushes-v1.3.0.tar.gz'
source_sha256 '704bb6420e65085acfd7a61d6050e96b0395c5eab078433f11406c355f16b214'
depends_on 'libmypaint'
def self.patch
system "wget http://www.linuxfromscratch.org/patches/blfs/svn/mypaint-brushes-1.3.0-automake_1.16-1.patch"
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('mypaint-brushes-1.3.0-automake_1.16-1.patch') ) == '789f9233a31227c1acc2f81a5348a2d5bc7f656ae69044c0b33d0032d1f93ae2'
system "patch -Np1 -i mypaint-brushes-1.3.0-automake_1.16-1.patch"
end
def self.build
system "./autogen.sh"
system "./configure --prefix=#{CREW_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
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