@@ -0,0 +1,683 @@
+from spack import *%0Aimport os%0A%0Aclass Astyle(Package):%0A    %22%22%22A Free, Fast, and Small Automatic Formatter for C, C++, C++/CLI, Objective-C, C#, and Java Source Code.%22%22%22%0A    homepage = %22http://astyle.sourceforge.net/%22%0A    url      = %22http://downloads.sourceforge.net/project/astyle/astyle/astyle%25202.04/astyle_2.04_linux.tar.gz%22%0A%0A    version('2.04', '30b1193a758b0909d06e7ee8dd9627f6')%0A%0A    def install(self, spec, prefix):%0A%0A        with working_dir('src'):%0A            make('-f',%0A                join_path(self.stage.source_path,'build','clang','Makefile'),%0A                parallel=False)%0A            install(join_path(self.stage.source_path, 'src','bin','astyle'), self.prefix.bin)%0A

add new package