From b733ce1e5f7dfcb1f984ab786fb412f1baa7ad66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=81=A5=E7=BE=8E=E7=8C=AB?= <weijianwen@gmail.com>
Date: Wed, 10 Jan 2018 23:45:05 +0800
Subject: [PATCH] bcftools is a AutotoolsPackage. (#6881)

---
 var/spack/repos/builtin/packages/bcftools/package.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/var/spack/repos/builtin/packages/bcftools/package.py b/var/spack/repos/builtin/packages/bcftools/package.py
index b1cccc1f21..353b574ff9 100644
--- a/var/spack/repos/builtin/packages/bcftools/package.py
+++ b/var/spack/repos/builtin/packages/bcftools/package.py
@@ -25,7 +25,7 @@
 from spack import *
 
 
-class Bcftools(Package):
+class Bcftools(AutotoolsPackage):
     """BCFtools is a set of utilities that manipulate variant calls in the
        Variant Call Format (VCF) and its binary counterpart BCF. All
        commands work transparently with both VCFs and BCFs, both
@@ -43,7 +43,3 @@ class Bcftools(Package):
     depends_on('htslib@1.4',   when='@1.4')
     depends_on('htslib@1.3.1', when='@1.3.1')
     depends_on('htslib@1.2', when='@1.2')
-
-    def install(self, spec, prefix):
-        make("prefix=%s" % prefix, "all")
-        make("prefix=%s" % prefix, "install")
-- 
GitLab