Add xmlto package

This commit is contained in:
Ed Reel
2017-08-20 18:11:23 -05:00
committed by Kazushi (Jam) Marukawa
parent 8b285ec727
commit 6dca4e5cbf

18
packages/xmlto.rb Normal file
View File

@@ -0,0 +1,18 @@
require 'package'
class Xmlto < Package
description 'A tool for converting XML files to various formats.'
homepage 'https://pagure.io/xmlto'
version '0.0.28'
source_url 'https://releases.pagure.org/xmlto/xmlto-0.0.28.tar.bz2'
source_sha256 '1130df3a7957eb9f6f0d29e4aa1c75732a7dfb6d639be013859b5c7ec5421276'
def self.build
system './configure'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end