diff options
| author | Adam Vandenberg | 2013-06-14 09:25:16 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-06-14 10:11:20 -0700 |
| commit | d41be562d1a82f5da423f6482b4b3d983f839350 (patch) | |
| tree | b61a97866a5099f0d50289032d88d24f4784d3b6 /Library/Formula | |
| parent | 73a949b769e055f2180cb0b981e8c29a382ce9b9 (diff) | |
| download | homebrew-d41be562d1a82f5da423f6482b4b3d983f839350.tar.bz2 | |
rpm2cpio: restore .pl extension
rpm requires rpm2cpio to install, and references it with a .pl extension
rpm also installs its own non-.pl rpm2cpio
Closes #20498.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/rpm2cpio.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/rpm2cpio.rb b/Library/Formula/rpm2cpio.rb index 4889244a2..f116e0201 100644 --- a/Library/Formula/rpm2cpio.rb +++ b/Library/Formula/rpm2cpio.rb @@ -1,10 +1,14 @@ require 'formula' -class Rpm2cpio < ScriptFileFormula +class Rpm2cpio < Formula homepage 'http://svnweb.freebsd.org/ports/head/archivers/rpm2cpio/' url 'http://svnweb.freebsd.org/ports/head/archivers/rpm2cpio/files/rpm2cpio?revision=259745' version '1.3' sha1 '7bd6e848eed9444a4dacf9759cc195ca56ab19b2' - depends_on 'xz' # runtime dependency + depends_on 'xz' + + def install + bin.install 'rpm2cpio?revision=259745' => 'rpm2cpio.pl' + end end |
