summaryrefslogtreecommitdiff
path: root/homebrew/pkgconfig
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/pkgconfig
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (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/pkgconfig')
-rw-r--r--homebrew/pkgconfig/.beer30
-rw-r--r--homebrew/pkgconfig/.make.sh-auto6
-rw-r--r--homebrew/pkgconfig/_metadata/description1
-rw-r--r--homebrew/pkgconfig/_metadata/homepage1
-rw-r--r--homebrew/pkgconfig/_metadata/name1
-rw-r--r--homebrew/pkgconfig/_metadata/version1
-rwxr-xr-xhomebrew/pkgconfig/download.sh1
7 files changed, 41 insertions, 0 deletions
diff --git a/homebrew/pkgconfig/.beer b/homebrew/pkgconfig/.beer
new file mode 100644
index 000000000..b00e2de84
--- /dev/null
+++ b/homebrew/pkgconfig/.beer
@@ -0,0 +1,30 @@
+{
+ "name": "PkgConfig",
+ "description": "Manage compile and link flags for libraries",
+ "url": "https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz",
+ "mirror": "https://dl.bintray.com/homebrew/mirror/pkg-config-0.29.2.tar.gz",
+ "homepage": "https://freedesktop.org/wiki/Software/pkg-config/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "pc_path = %W[",
+ "#{HOMEBREW_PREFIX}/lib/pkgconfig",
+ "#{HOMEBREW_PREFIX}/share/pkgconfig",
+ "/usr/local/lib/pkgconfig",
+ "/usr/lib/pkgconfig",
+ "#{HOMEBREW_LIBRARY}/Homebrew/os/mac/pkgconfig/#{MacOS.version}",
+ "].uniq.join(File::PATH_SEPARATOR)",
+ "system \"./configure\", \"--disable-debug\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--disable-host-tool\",",
+ "\"--with-internal-glib\",",
+ "\"--with-pc-path=#{pc_path}\"",
+ "system \"make\"",
+ "system \"make\", \"check\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.29.2",
+ "file": "pkg-config.rb"
+} \ No newline at end of file
diff --git a/homebrew/pkgconfig/.make.sh-auto b/homebrew/pkgconfig/.make.sh-auto
new file mode 100644
index 000000000..5cb6c97ea
--- /dev/null
+++ b/homebrew/pkgconfig/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+pc_path = %W[#{HOMEBREW_PREFIX}/lib/pkgconfig #{HOMEBREW_PREFIX}/share/pkgconfig /usr/local/lib/pkgconfig /usr/lib/pkgconfig #{HOMEBREW_LIBRARY}/Homebrew/os/mac/pkgconfig/#{MacOS.version} ].uniq.join(File::PATH_SEPARATOR)
+pkg:configure --disable-host-tool --with-internal-glib --with-pc-path=#{pc_path}
+make
+make check
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/pkgconfig/_metadata/description b/homebrew/pkgconfig/_metadata/description
new file mode 100644
index 000000000..be591ab06
--- /dev/null
+++ b/homebrew/pkgconfig/_metadata/description
@@ -0,0 +1 @@
+Manage compile and link flags for libraries
diff --git a/homebrew/pkgconfig/_metadata/homepage b/homebrew/pkgconfig/_metadata/homepage
new file mode 100644
index 000000000..47c670be8
--- /dev/null
+++ b/homebrew/pkgconfig/_metadata/homepage
@@ -0,0 +1 @@
+https://freedesktop.org/wiki/Software/pkg-config/
diff --git a/homebrew/pkgconfig/_metadata/name b/homebrew/pkgconfig/_metadata/name
new file mode 100644
index 000000000..55e950fac
--- /dev/null
+++ b/homebrew/pkgconfig/_metadata/name
@@ -0,0 +1 @@
+PkgConfig
diff --git a/homebrew/pkgconfig/_metadata/version b/homebrew/pkgconfig/_metadata/version
new file mode 100644
index 000000000..20f068700
--- /dev/null
+++ b/homebrew/pkgconfig/_metadata/version
@@ -0,0 +1 @@
+0.29.2
diff --git a/homebrew/pkgconfig/download.sh b/homebrew/pkgconfig/download.sh
new file mode 100755
index 000000000..c8813f4f4
--- /dev/null
+++ b/homebrew/pkgconfig/download.sh
@@ -0,0 +1 @@
+wget https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz || wget https://dl.bintray.com/homebrew/mirror/pkg-config-0.29.2.tar.gz \ No newline at end of file