Commit 517f8e21 authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #1923 from beliefless-dogmasless/master

Add Gpart & Sharedmimeinfo Packages
parents e98d6ebd 241acd13
require 'package'
class Gpart < Package
description 'Partition table rescue/guessing tool. https://github.com/baruch/gpart'
homepage 'https://github.com/baruch/gpart/releases'
version '0.3'
source_url 'https://github.com/baruch/gpart/archive/0.3.tar.gz'
source_sha256 'ec56d12ec9ffdb9877c12692ea6e51620b1ae44473d3d253b27fc31ed9ebb4dd'
binary_url ({
})
binary_sha256 ({
})
def self.build
system "sh autogen.sh"
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # the steps required to install the package
end
end
require 'package'
class Sharedmimeinfo < Package
description 'The Shared MIME-info Database specification. https://freedesktop.org/wiki/Software/shared-mime-info'
homepage 'https://people.freedesktop.org/~hadess/'
version '1.9'
source_url 'https://people.freedesktop.org/~hadess/shared-mime-info-1.9.tar.xz'
source_sha256 '5c0133ec4e228e41bdf52f726d271a2d821499c2ab97afd3aa3d6cf43efcdc83'
binary_url ({
})
binary_sha256 ({
})
depends_on 'glib'
depends_on 'libxml2'
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # the steps required to install the package
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