Add clamtk package and dependencies (#7660)

Co-authored-by: chronos <no-reply@github.com>
This commit is contained in:
Ed Reel
2022-11-22 12:42:45 -06:00
committed by GitHub
parent a9ec0ed6d9
commit 7dc7271713
23 changed files with 798 additions and 0 deletions

26
packages/perl_text_csv.rb Normal file
View File

@@ -0,0 +1,26 @@
require 'package'
class Perl_text_csv < Package
description 'Comma-separated values manipulator (using XS or PurePerl)'
homepage 'https://metacpan.org/pod/Text::CSV'
version '2.02'
license 'GPL-1+ or Artistic'
compatibility 'all'
source_url 'https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/Text-CSV-2.02.tar.gz'
source_sha256 '84120de3e10489ea8fbbb96411a340c32cafbe5cdff7dd9576b207081baa9d24'
no_compile_needed
def self.prebuild
system 'perl', 'Makefile.PL'
system "sed -i 's,/usr/local,#{CREW_PREFIX},g' Makefile"
end
def self.build
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end