mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
psftools: use resource
This commit is contained in:
1 parent
4c77bc2d32
commit
00a175f5e9
1 file changed
+6
-6
@@ -1,15 +1,15 @@
|
||||
require 'formula'
|
||||
|
||||
class Pc8x8Font < Formula
|
||||
url 'http://www.zone38.net/font/pc8x8.zip'
|
||||
sha1 '4dbd149bb97b5b4f3464fcbda2387a479b09acb7'
|
||||
end
|
||||
|
||||
class Psftools < Formula
|
||||
homepage 'http://www.seasip.demon.co.uk/Unix/PSF/'
|
||||
url 'http://www.seasip.info/Unix/PSF/psftools-1.0.7.tar.gz'
|
||||
sha1 '4e8b2e7686532a25c18cacaeb90a8f0ed57a30c6'
|
||||
|
||||
resource "pc8x8font" do
|
||||
url 'http://www.zone38.net/font/pc8x8.zip'
|
||||
sha1 '4dbd149bb97b5b4f3464fcbda2387a479b09acb7'
|
||||
end
|
||||
|
||||
def install
|
||||
# This very old configure script does not anticipate that passing -g
|
||||
# will result in .dSYM directories being created. -g is only passed
|
||||
@@ -29,7 +29,7 @@ class Psftools < Formula
|
||||
|
||||
test do
|
||||
# The zip file has a fon in it, use fon2fnts to extrat to fnt
|
||||
Pc8x8Font.new.brew do
|
||||
resource("pc8x8font").stage do
|
||||
system "#{bin}/fon2fnts", "pc8x8.fon"
|
||||
assert File.exist?("PC8X8_9.fnt")
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user