diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/libvirtglib | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff) |
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/libvirtglib')
-rw-r--r-- | homebrew/libvirtglib/.beer | 51 | ||||
-rw-r--r-- | homebrew/libvirtglib/.make.sh-auto | 7 | ||||
-rw-r--r-- | homebrew/libvirtglib/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/libvirtglib/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/libvirtglib/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/libvirtglib/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/libvirtglib/download.sh | 1 |
7 files changed, 63 insertions, 0 deletions
diff --git a/homebrew/libvirtglib/.beer b/homebrew/libvirtglib/.beer new file mode 100644 index 000000000..a4c0196c6 --- /dev/null +++ b/homebrew/libvirtglib/.beer @@ -0,0 +1,51 @@ +{ + "name": "LibvirtGlib", + "description": "Libvirt API for glib-based programs", + "url": "https://libvirt.org/sources/glib/libvirt-glib-2.0.0.tar.gz", + "mirror": null, + "homepage": "https://libvirt.org/", + "depends": [ + { + "depend": "gobject-introspection", + "build-depend": true + }, + { + "depend": "intltool", + "build-depend": true + }, + { + "depend": "pkg-config", + "build-depend": true + }, + { + "depend": "gettext", + "build-depend": false + }, + { + "depend": "glib", + "build-depend": false + }, + { + "depend": "libvirt", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "inreplace \"libvirt-gconfig/Makefile.in\", /^.*-Wl,--version-script=.*$\\n/, \"\"", + "inreplace \"libvirt-glib/Makefile.in\", /^.*-Wl,--version-script=.*$\\n/, \"\"", + "inreplace \"libvirt-gobject/Makefile.in\", /^.*-Wl,--version-script=.*$\\n/, \"\"", + "args = %W[", + "--disable-dependency-tracking", + "--disable-silent-rules", + "--enable-introspection", + "--prefix=#{prefix}", + "]", + "system \"./configure\", *args", + "system \"make\", \"install\"" + ], + "version": "2.0.0", + "file": "libvirt-glib.rb" +}
\ No newline at end of file diff --git a/homebrew/libvirtglib/.make.sh-auto b/homebrew/libvirtglib/.make.sh-auto new file mode 100644 index 000000000..528c736f4 --- /dev/null +++ b/homebrew/libvirtglib/.make.sh-auto @@ -0,0 +1,7 @@ +pkg:setup +inreplace "libvirt-gconfig/Makefile.in", /^.*-Wl,--version-script=.*$\n/, "" +inreplace "libvirt-glib/Makefile.in", /^.*-Wl,--version-script=.*$\n/, "" +inreplace "libvirt-gobject/Makefile.in", /^.*-Wl,--version-script=.*$\n/, "" +args = %W[--disable-dependency-tracking --disable-silent-rules --enable-introspection --prefix=#{prefix} ] +pkg:configure *args +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/libvirtglib/_metadata/description b/homebrew/libvirtglib/_metadata/description new file mode 100644 index 000000000..53ee7b407 --- /dev/null +++ b/homebrew/libvirtglib/_metadata/description @@ -0,0 +1 @@ +Libvirt API for glib-based programs diff --git a/homebrew/libvirtglib/_metadata/homepage b/homebrew/libvirtglib/_metadata/homepage new file mode 100644 index 000000000..0f31e08fa --- /dev/null +++ b/homebrew/libvirtglib/_metadata/homepage @@ -0,0 +1 @@ +https://libvirt.org/ diff --git a/homebrew/libvirtglib/_metadata/name b/homebrew/libvirtglib/_metadata/name new file mode 100644 index 000000000..0c30b564a --- /dev/null +++ b/homebrew/libvirtglib/_metadata/name @@ -0,0 +1 @@ +LibvirtGlib diff --git a/homebrew/libvirtglib/_metadata/version b/homebrew/libvirtglib/_metadata/version new file mode 100644 index 000000000..227cea215 --- /dev/null +++ b/homebrew/libvirtglib/_metadata/version @@ -0,0 +1 @@ +2.0.0 diff --git a/homebrew/libvirtglib/download.sh b/homebrew/libvirtglib/download.sh new file mode 100755 index 000000000..fc3ea382e --- /dev/null +++ b/homebrew/libvirtglib/download.sh @@ -0,0 +1 @@ +wget https://libvirt.org/sources/glib/libvirt-glib-2.0.0.tar.gz
\ No newline at end of file |