summaryrefslogtreecommitdiff
path: root/homebrew/libicns
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libicns')
-rw-r--r--homebrew/libicns/.beer30
-rw-r--r--homebrew/libicns/.make.sh-auto4
-rw-r--r--homebrew/libicns/_metadata/description1
-rw-r--r--homebrew/libicns/_metadata/homepage1
-rw-r--r--homebrew/libicns/_metadata/name1
-rw-r--r--homebrew/libicns/_metadata/version1
-rwxr-xr-xhomebrew/libicns/download.sh1
7 files changed, 39 insertions, 0 deletions
diff --git a/homebrew/libicns/.beer b/homebrew/libicns/.beer
new file mode 100644
index 000000000..98e1f6a40
--- /dev/null
+++ b/homebrew/libicns/.beer
@@ -0,0 +1,30 @@
+{
+ "name": "Libicns",
+ "description": "Library for manipulation of the macOS .icns resource format",
+ "url": "https://downloads.sourceforge.net/project/icns/libicns-0.8.1.tar.gz",
+ "mirror": "https://deb.debian.org/debian/pool/main/libi/libicns/libicns_0.8.1.orig.tar.gz",
+ "homepage": "https://icns.sourceforge.io/",
+ "depends": [
+ {
+ "depend": "jasper",
+ "build-depend": false
+ },
+ {
+ "depend": "libpng",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "inreplace \"icnsutils/png2icns.c\",",
+ "\"png_set_gray_1_2_4_to_8\",",
+ "\"png_set_expand_gray_1_2_4_to_8\"",
+ "system \"./configure\", \"--disable-debug\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.8.1",
+ "file": "libicns.rb"
+} \ No newline at end of file
diff --git a/homebrew/libicns/.make.sh-auto b/homebrew/libicns/.make.sh-auto
new file mode 100644
index 000000000..5d02cd234
--- /dev/null
+++ b/homebrew/libicns/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+inreplace "icnsutils/png2icns.c", "png_set_gray_1_2_4_to_8", "png_set_expand_gray_1_2_4_to_8"
+pkg:configure --disable-dependency-tracking
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/libicns/_metadata/description b/homebrew/libicns/_metadata/description
new file mode 100644
index 000000000..423890e27
--- /dev/null
+++ b/homebrew/libicns/_metadata/description
@@ -0,0 +1 @@
+Library for manipulation of the macOS .icns resource format
diff --git a/homebrew/libicns/_metadata/homepage b/homebrew/libicns/_metadata/homepage
new file mode 100644
index 000000000..a9fe36846
--- /dev/null
+++ b/homebrew/libicns/_metadata/homepage
@@ -0,0 +1 @@
+https://icns.sourceforge.io/
diff --git a/homebrew/libicns/_metadata/name b/homebrew/libicns/_metadata/name
new file mode 100644
index 000000000..97a8dfa37
--- /dev/null
+++ b/homebrew/libicns/_metadata/name
@@ -0,0 +1 @@
+Libicns
diff --git a/homebrew/libicns/_metadata/version b/homebrew/libicns/_metadata/version
new file mode 100644
index 000000000..6f4eebdf6
--- /dev/null
+++ b/homebrew/libicns/_metadata/version
@@ -0,0 +1 @@
+0.8.1
diff --git a/homebrew/libicns/download.sh b/homebrew/libicns/download.sh
new file mode 100755
index 000000000..c29a98879
--- /dev/null
+++ b/homebrew/libicns/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/icns/libicns-0.8.1.tar.gz || wget https://deb.debian.org/debian/pool/main/libi/libicns/libicns_0.8.1.orig.tar.gz \ No newline at end of file