Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aescrypt-packetizer: remove xcode dependency #191166

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 7 additions & 15 deletions Formula/a/aescrypt-packetizer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,28 +33,20 @@ class AescryptPacketizer < Formula
depends_on "libtool" => :build
end

depends_on xcode: :build

def install
if build.head?
cd "linux"
system "autoreconf", "-ivf"
cd "Linux"
system "autoreconf", "--force", "--install", "--verbose"

args = %W[
prefix=#{prefix}
--disable-gui
]
args = ["--disable-gui"]
args << "--enable-iconv" if OS.mac?

system "./configure", *args
system "./configure", *args, *std_configure_args
system "make", "install"
else
cd "src" do
system "make"

bin.install "aescrypt"
bin.install "aescrypt_keygen"
end
system "make"
bin.install "src/aescrypt"
bin.install "src/aescrypt_keygen"
man1.install "man/aescrypt.1"
end

Expand Down
Loading