Commit 9cf37fe6 authored by lovedheart's avatar lovedheart Committed by Ed Reel

Create atkmm.rb (#1819)

parent c70b21b4
require 'package'
class Atkmm < Package
description 'Atkmm is the official C++ interface for the ATK accessibility toolkit library.'
homepage 'https://www.gtkmm.org/'
version '2.24.2'
source_url 'https://ftp.gnome.org/pub/gnome/sources/atkmm/2.24/atkmm-2.24.2.tar.xz'
source_sha256 'ff95385759e2af23828d4056356f25376cfabc41e690ac1df055371537e458bd'
depends_on 'atk'
depends_on 'glibmm'
def self.build
# fix the documents directory name
system "sed -e '/^libdocdir =/ s/$(book_name)/atkmm-2.24.2/' \
-i doc/Makefile.in"
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_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