diff options
Diffstat (limited to 'homebrew/dopewars')
-rw-r--r-- | homebrew/dopewars/.beer | 36 | ||||
-rw-r--r-- | homebrew/dopewars/.make.sh-auto | 6 | ||||
-rw-r--r-- | homebrew/dopewars/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/dopewars/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/dopewars/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/dopewars/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/dopewars/download.sh | 1 |
7 files changed, 47 insertions, 0 deletions
diff --git a/homebrew/dopewars/.beer b/homebrew/dopewars/.beer new file mode 100644 index 000000000..cef25c105 --- /dev/null +++ b/homebrew/dopewars/.beer @@ -0,0 +1,36 @@ +{ + "name": "Dopewars", + "description": "Free rewrite of a game originally based on ", + "url": "https://downloads.sourceforge.net/project/dopewars/dopewars/1.5.12/dopewars-1.5.12.tar.gz", + "mirror": null, + "homepage": "https://dopewars.sourceforge.io", + "depends": [ + { + "depend": "pkg-config", + "build-depend": true + }, + { + "depend": "glib", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "inreplace \"src/Makefile.in\", \"$(dopewars_DEPENDENCIES)\", \"\"", + "inreplace \"ltmain.sh\", \"need_relink=yes\", \"need_relink=no\"", + "inreplace \"src/plugins/Makefile.in\", \"LIBADD =\", \"LIBADD = -module -avoid-version\"", + "system \"./configure\", \"--disable-gui-client\",", + "\"--disable-gui-server\",", + "\"--enable-plugins\",", + "\"--enable-networking\",", + "\"--prefix=#{prefix}\",", + "\"--mandir=#{man}\",", + "\"--disable-debug\",", + "\"--disable-dependency-tracking\"", + "system \"make\", \"install\"" + ], + "version": "1.5.12", + "file": "dopewars.rb" +}
\ No newline at end of file diff --git a/homebrew/dopewars/.make.sh-auto b/homebrew/dopewars/.make.sh-auto new file mode 100644 index 000000000..100a0d833 --- /dev/null +++ b/homebrew/dopewars/.make.sh-auto @@ -0,0 +1,6 @@ +pkg:setup +inreplace "src/Makefile.in", "$(dopewars_DEPENDENCIES)", "" +inreplace "ltmain.sh", "need_relink=yes", "need_relink=no" +inreplace "src/plugins/Makefile.in", "LIBADD =", "LIBADD = -module -avoid-version" +pkg:configure --disable-gui-client --disable-gui-server --enable-plugins --enable-networking --disable-dependency-tracking +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/dopewars/_metadata/description b/homebrew/dopewars/_metadata/description new file mode 100644 index 000000000..4935faa1b --- /dev/null +++ b/homebrew/dopewars/_metadata/description @@ -0,0 +1 @@ +Free rewrite of a game originally based on diff --git a/homebrew/dopewars/_metadata/homepage b/homebrew/dopewars/_metadata/homepage new file mode 100644 index 000000000..412ebd8cc --- /dev/null +++ b/homebrew/dopewars/_metadata/homepage @@ -0,0 +1 @@ +https://dopewars.sourceforge.io diff --git a/homebrew/dopewars/_metadata/name b/homebrew/dopewars/_metadata/name new file mode 100644 index 000000000..03b362635 --- /dev/null +++ b/homebrew/dopewars/_metadata/name @@ -0,0 +1 @@ +Dopewars diff --git a/homebrew/dopewars/_metadata/version b/homebrew/dopewars/_metadata/version new file mode 100644 index 000000000..41336a1c0 --- /dev/null +++ b/homebrew/dopewars/_metadata/version @@ -0,0 +1 @@ +1.5.12 diff --git a/homebrew/dopewars/download.sh b/homebrew/dopewars/download.sh new file mode 100755 index 000000000..9740d0b79 --- /dev/null +++ b/homebrew/dopewars/download.sh @@ -0,0 +1 @@ +wget https://downloads.sourceforge.net/project/dopewars/dopewars/1.5.12/dopewars-1.5.12.tar.gz
\ No newline at end of file |