aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-03-13 00:26:15 +0100
committerMike McQuaid2015-03-13 11:15:09 +0000
commit0753a2966c173babc25eca071d62d7fbf252206b (patch)
tree150ef47cf6f54d5a831cfb9aac24905101e218b4 /Library/Formula
parent9aa904c30c4a724fe418a4b2095d53cc869ab8c2 (diff)
downloadhomebrew-0753a2966c173babc25eca071d62d7fbf252206b.tar.bz2
fourstore: test added
Closes #37661. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/fourstore.rb23
1 files changed, 12 insertions, 11 deletions
diff --git a/Library/Formula/fourstore.rb b/Library/Formula/fourstore.rb
index c6944b115..23565026a 100644
--- a/Library/Formula/fourstore.rb
+++ b/Library/Formula/fourstore.rb
@@ -1,21 +1,19 @@
-require 'formula'
-
class Fourstore < Formula
- homepage 'http://4store.org/'
- url 'http://4store.org/download/4store-v1.1.5.tar.gz'
- sha1 '32ef328f846b5585e040ae587c6429d44b070d9a'
+ homepage "http://4store.org/"
+ url "http://4store.org/download/4store-v1.1.5.tar.gz"
+ sha256 "2bdd6fb804288802187c5779e365eea2b3ddebce419b3da0609be38edc9e8c5b"
- depends_on 'pkg-config' => :build
- depends_on 'glib'
- depends_on 'raptor'
- depends_on 'rasqal'
- depends_on 'pcre'
+ depends_on "pkg-config" => :build
+ depends_on "glib"
+ depends_on "raptor"
+ depends_on "rasqal"
+ depends_on "pcre"
def install
system "./configure", "--prefix=#{prefix}",
"--with-storage-path=#{var}/fourstore",
"--sysconfdir=#{etc}/fourstore"
- system "make install"
+ system "make", "install"
end
def caveats; <<-EOS.undent
@@ -35,4 +33,7 @@ class Fourstore < Formula
EOS
end
+ test do
+ system "#{bin}/4s-backend-setup", "demo"
+ end
end