Commit d50fdef5 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Merge pull request #1729 from lovedheart/patch-8

Create gobject_introspection
parents 208b8c29 dc2fcc33
require 'package'
class Gobject_introspection < Package
description 'GObject introspection is a middleware layer between C libraries (using GObject) and language bindings.'
homepage 'https://wiki.gnome.org/action/show/Projects/GObjectIntrospection'
version '1.52.1'
source_url 'https://ftp.gnome.org/pub/gnome/sources/gobject-introspection/1.52/gobject-introspection-1.52.1.tar.xz'
source_sha256 '2ed0c38d52fe1aa6fc4def0c868fe481cb87b532fc694756b26d6cfab29faff4'
depends_on 'glib'
depends_on 'flex'
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"
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