summaryrefslogtreecommitdiff
path: root/homebrew/apngasm
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/apngasm')
-rw-r--r--homebrew/apngasm/.beer37
-rw-r--r--homebrew/apngasm/.make.sh-auto5
-rw-r--r--homebrew/apngasm/_metadata/description1
-rw-r--r--homebrew/apngasm/_metadata/homepage1
-rw-r--r--homebrew/apngasm/_metadata/name1
-rw-r--r--homebrew/apngasm/_metadata/version1
-rwxr-xr-xhomebrew/apngasm/download.sh1
7 files changed, 47 insertions, 0 deletions
diff --git a/homebrew/apngasm/.beer b/homebrew/apngasm/.beer
new file mode 100644
index 000000000..d2eb4996c
--- /dev/null
+++ b/homebrew/apngasm/.beer
@@ -0,0 +1,37 @@
+{
+ "name": "Apngasm",
+ "description": "Next generation of apngasm, the APNG assembler",
+ "url": "https://github.com/apngasm/apngasm/archive/3.1.6.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/apngasm/apngasm",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "boost",
+ "build-depend": false
+ },
+ {
+ "depend": "libpng",
+ "build-depend": false
+ },
+ {
+ "depend": "lzlib",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "inreplace \"cli/CMakeLists.txt\", \"${CMAKE_INSTALL_PREFIX}/man/man1\",",
+ "\"${CMAKE_INSTALL_PREFIX}/share/man/man1\"",
+ "system \"cmake\", \".\", *std_cmake_args",
+ "system \"make\", \"install\"",
+ "(pkgshare/\"test\").install \"test/samples\""
+ ],
+ "version": "3.1.6",
+ "file": "apngasm.rb"
+} \ No newline at end of file
diff --git a/homebrew/apngasm/.make.sh-auto b/homebrew/apngasm/.make.sh-auto
new file mode 100644
index 000000000..c9c849969
--- /dev/null
+++ b/homebrew/apngasm/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+inreplace "cli/CMakeLists.txt", "${CMAKE_INSTALL_PREFIX}/man/man1", "${CMAKE_INSTALL_PREFIX}/share/man/man1"
+cmake . -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make DESTDIR=${PKG_DEST} install
+(pkgshare/"test").install "test/samples"
diff --git a/homebrew/apngasm/_metadata/description b/homebrew/apngasm/_metadata/description
new file mode 100644
index 000000000..473002996
--- /dev/null
+++ b/homebrew/apngasm/_metadata/description
@@ -0,0 +1 @@
+Next generation of apngasm, the APNG assembler
diff --git a/homebrew/apngasm/_metadata/homepage b/homebrew/apngasm/_metadata/homepage
new file mode 100644
index 000000000..5fc94369f
--- /dev/null
+++ b/homebrew/apngasm/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/apngasm/apngasm
diff --git a/homebrew/apngasm/_metadata/name b/homebrew/apngasm/_metadata/name
new file mode 100644
index 000000000..72a8ff697
--- /dev/null
+++ b/homebrew/apngasm/_metadata/name
@@ -0,0 +1 @@
+Apngasm
diff --git a/homebrew/apngasm/_metadata/version b/homebrew/apngasm/_metadata/version
new file mode 100644
index 000000000..9cec7165a
--- /dev/null
+++ b/homebrew/apngasm/_metadata/version
@@ -0,0 +1 @@
+3.1.6
diff --git a/homebrew/apngasm/download.sh b/homebrew/apngasm/download.sh
new file mode 100755
index 000000000..98e7809c7
--- /dev/null
+++ b/homebrew/apngasm/download.sh
@@ -0,0 +1 @@
+wget https://github.com/apngasm/apngasm/archive/3.1.6.tar.gz \ No newline at end of file