blob: c714fdbb9ebfeba5dd1eeae6551cfdb5f2245ed9 (
plain)
1
2
3
4
5
6
7
8
|
pkg:setup
ENV.O1 if DevelopmentTools.clang_build_version == 800
pkg:configure --disable-dependency-tracking --disable-silent-rules --enable-static --disable-asm --with-libgpg-error-prefix=#{Formula[libgpg-error"].opt_prefix}" --disable-jent-support
make
MachO::Tools.change_install_name("#{buildpath}/tests/.libs/random", "#{lib}/libgcrypt.20.dylib", "#{buildpath}/src/.libs/libgcrypt.20.dylib")
make check
make DESTDIR=${PKG_DEST} install
inreplace bin/"libgcrypt-config", prefix, opt_prefix
|