feather/contrib/depends/packages/tor_darwin.mk
2024-03-09 17:32:30 +01:00

13 lines
No EOL
645 B
Makefile

package=tor_darwin
$(package)_version=0.4.8.10
$(package)_download_path=https://dist.torproject.org/torbrowser/13.0.11/
$(package)_file_name=tor-browser-macos-13.0.11.dmg
$(package)_sha256_hash=809fd7b1c5859cd9a4abebdb20a6b99e51b3c46d865f030b88fe5d6590bcbfdd
$(package)_extract_cmds=mkdir -p $$($(1)_extract_dir) && \
echo "$$($(1)_sha256_hash) $$($(1)_source)" > $$($(1)_extract_dir)/.$$($(1)_file_name).hash && \
$(build_SHA256SUM) -c $$($(1)_extract_dir)/.$$($(1)_file_name).hash && \
7z x $$($(1)_source)
define $(package)_stage_cmds
cp -a Tor\ Browser/Tor\ Browser.app/Contents/MacOS/Tor $($(package)_staging_prefix_dir)/Tor/
endef