pngquant: use cargo install --prefix
This commit is contained in:
parent
9857ada4cf
commit
d275d1904e
1 changed files with 1 additions and 2 deletions
|
@ -18,8 +18,7 @@ class Pngquant < Formula
|
||||||
depends_on "little-cms2"
|
depends_on "little-cms2"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "cargo", "build", "--release"
|
system "cargo", "install", "--root", prefix
|
||||||
bin.install "target/release/pngquant"
|
|
||||||
man1.install "pngquant.1"
|
man1.install "pngquant.1"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue