diff options
Diffstat (limited to 'homebrew/i2pd')
-rw-r--r-- | homebrew/i2pd/.beer | 37 | ||||
-rw-r--r-- | homebrew/i2pd/.make.sh-auto | 10 | ||||
-rw-r--r-- | homebrew/i2pd/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/i2pd/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/i2pd/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/i2pd/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/i2pd/download.sh | 1 |
7 files changed, 52 insertions, 0 deletions
diff --git a/homebrew/i2pd/.beer b/homebrew/i2pd/.beer new file mode 100644 index 000000000..01ac914c9 --- /dev/null +++ b/homebrew/i2pd/.beer @@ -0,0 +1,37 @@ +{ + "name": "I2pd", + "description": "Full-featured C++ implementation of I2P client", + "url": "https://github.com/PurpleI2P/i2pd/archive/2.24.0.tar.gz", + "mirror": null, + "homepage": "https://i2pd.website/", + "depends": [ + { + "depend": "boost", + "build-depend": false + }, + { + "depend": "miniupnpc", + "build-depend": false + }, + { + "depend": "openssl@1.1", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "datadir = var/\"lib/i2pd\"", + "if datadir.exist?", + "rm datadir/\"certificates\"", + "datadir.install_symlink pkgshare/\"certificates\"", + "else", + "datadir.dirname.mkpath", + "datadir.install_symlink pkgshare/\"certificates\", etc/\"i2pd/i2pd.conf\", etc/\"i2pd/subscriptions.txt\", etc/\"i2pd/tunnels.conf\"", + "end", + "(var/\"log/i2pd\").mkpath" + ], + "version": "2.24.0", + "file": "i2pd.rb" +}
\ No newline at end of file diff --git a/homebrew/i2pd/.make.sh-auto b/homebrew/i2pd/.make.sh-auto new file mode 100644 index 000000000..cbb70a5e7 --- /dev/null +++ b/homebrew/i2pd/.make.sh-auto @@ -0,0 +1,10 @@ +pkg:setup +datadir = var/"lib/i2pd" +if datadir.exist? +rm datadir/"certificates" +datadir.install_symlink pkgshare/"certificates" +else +datadir.dirname.mkpath +datadir.install_symlink pkgshare/"certificates", etc/"i2pd/i2pd.conf", etc/"i2pd/subscriptions.txt", etc/"i2pd/tunnels.conf" +end +(var/"log/i2pd").mkpath diff --git a/homebrew/i2pd/_metadata/description b/homebrew/i2pd/_metadata/description new file mode 100644 index 000000000..952e322ef --- /dev/null +++ b/homebrew/i2pd/_metadata/description @@ -0,0 +1 @@ +Full-featured C++ implementation of I2P client diff --git a/homebrew/i2pd/_metadata/homepage b/homebrew/i2pd/_metadata/homepage new file mode 100644 index 000000000..6b989cef6 --- /dev/null +++ b/homebrew/i2pd/_metadata/homepage @@ -0,0 +1 @@ +https://i2pd.website/ diff --git a/homebrew/i2pd/_metadata/name b/homebrew/i2pd/_metadata/name new file mode 100644 index 000000000..e56123a73 --- /dev/null +++ b/homebrew/i2pd/_metadata/name @@ -0,0 +1 @@ +I2pd diff --git a/homebrew/i2pd/_metadata/version b/homebrew/i2pd/_metadata/version new file mode 100644 index 000000000..ad2261920 --- /dev/null +++ b/homebrew/i2pd/_metadata/version @@ -0,0 +1 @@ +2.24.0 diff --git a/homebrew/i2pd/download.sh b/homebrew/i2pd/download.sh new file mode 100755 index 000000000..aef3ec783 --- /dev/null +++ b/homebrew/i2pd/download.sh @@ -0,0 +1 @@ +wget https://github.com/PurpleI2P/i2pd/archive/2.24.0.tar.gz
\ No newline at end of file |