casper: old domain fell off, adding github repo (#32928)
This commit is contained in:
parent
25c1ef1e57
commit
6e86daf470
1 changed files with 8 additions and 2 deletions
|
@ -14,8 +14,14 @@ class Casper(MakefilePackage):
|
|||
|
||||
homepage = "http://best.snu.ac.kr/casper/index.php?name=main"
|
||||
url = "http://best.snu.ac.kr/casper/program/casper_v0.8.2.tar.gz"
|
||||
git = "https://github.com/skwonPNU/casper.git"
|
||||
|
||||
version("0.8.2", sha256="3005e165cebf8ce4e12815b7660a833e0733441b5c7e5ecbfdccef7414b0c914")
|
||||
version("20220916", commit="08655cad5af7e801f05fdb9e643dcd859f823cba")
|
||||
version(
|
||||
"0.8.2",
|
||||
sha256="3005e165cebf8ce4e12815b7660a833e0733441b5c7e5ecbfdccef7414b0c914",
|
||||
deprecated=True,
|
||||
)
|
||||
|
||||
depends_on("jellyfish@2.2.3:")
|
||||
depends_on("boost+exception")
|
||||
|
@ -23,7 +29,7 @@ class Casper(MakefilePackage):
|
|||
conflicts("%gcc@7.1.0")
|
||||
|
||||
def flag_handler(self, name, flags):
|
||||
if name.lower() == "cxxflags":
|
||||
if self.spec.satisfies("@:0.8.2") and name.lower() == "cxxflags":
|
||||
flags.append(self.compiler.cxx98_flag)
|
||||
return (flags, None, None)
|
||||
|
||||
|
|
Loading…
Reference in a new issue