Package: alex Version: 3.1.3 Revision: 1 Source: http://hackage.haskell.org/package/%n-%v/%n-%v.tar.gz Source-MD5: 525e570cb0e84fd856f9c53605ec9e98 SourceDirectory: %n-%v BuildDepends: autoconf2.6 | autoconf, docbook-dtd, docbook-xsl Depends: ghc, ghc-quickcheck CompileScript: << #!/bin/sh -ev runghc Setup.lhs configure --prefix=%p --docdir=%p/share/doc/%n runghc Setup.lhs build cd doc autoconf ./configure %c make sed -e 's,@DOCDIR@,%p/share/doc/%n,' -e 's/@VERSION@/%v/' -e 's,@DATADIR@,%p/share/%n-%v,' alex.1.in > alex.1 << InstallScript: << runghc Setup.lhs copy --destdir=%d mkdir -p %i/share/doc/%n/html cp -r doc/%n/* %i/share/doc/%n/html mkdir -p %i/share/man/man1 cp doc/%n.1 %i/share/man/man1 << DocFiles: ANNOUNCE LICENSE README TODO examples Description: Lexical analyser generator for Haskell DescDetail: << Alex is a tool for generating lexical analysers in Haskell, given a description of the tokens to be recognised in the form of regular expressions. It is similar to the tool lex or flex for C/C++. << Homepage: http://www.haskell.org/alex/ License: BSD Maintainer: Brendan Cully