mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
Add a2png package
This commit is contained in:
23
packages/a2png.rb
Normal file
23
packages/a2png.rb
Normal file
@@ -0,0 +1,23 @@
|
||||
require "package"
|
||||
|
||||
class A2png < Package
|
||||
description 'Converts plain ASCII text into PNG bitmap images.'
|
||||
homepage 'https://sourceforge.net/projects/a2png/'
|
||||
version "0.1.5"
|
||||
source_url "https://sourceforge.net/projects/a2png/files/a2png/0.1.5/a2png-0.1.5.tar.bz2"
|
||||
source_sha1 "07c093920f2e520b2b7b77417021cdff0e92a4ed"
|
||||
|
||||
depends_on 'cairo'
|
||||
|
||||
def self.build
|
||||
system "./configure --enable-cairo \
|
||||
--with-cairo-lib=/usr/local/lib \
|
||||
--with-cairo-include=/usr/local/include/cairo"
|
||||
system "make"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user