/[gentoo-x86]/dev-haskell/crypto/crypto-4.2.5.1.ebuild
Gentoo

Contents of /dev-haskell/crypto/crypto-4.2.5.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Dec 22 21:23:34 2012 UTC (20 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Version bump.

(Portage version: 2.2.0_alpha149_p1/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
6
7 # ebuild generated by hackport 0.3.9999
8
9 CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
10 inherit haskell-cabal
11
12 MY_PN="Crypto"
13 MY_P="${MY_PN}-${PV}"
14
15 DESCRIPTION="Collects together existing Haskell cryptographic functions into a package"
16 HOMEPAGE="http://hackage.haskell.org/package/Crypto"
17 SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
18
19 LICENSE="BSD GPL-2"
20 SLOT="0/${PV}"
21 KEYWORDS="~amd64 ~x86"
22 IUSE=""
23
24 RDEPEND="dev-haskell/hunit:=[profile?]
25 >=dev-haskell/quickcheck-2.4.0.1:=[profile?]
26 dev-haskell/random:=[profile?]
27 >=dev-lang/ghc-6.10.4:="
28 DEPEND="${RDEPEND}
29 >=dev-haskell/cabal-1.2"
30
31 S="${WORKDIR}/${MY_P}"
32
33 src_test() {
34 TESTS="SymmetricTest SHA1Test RSATest QuickTest HMACTest WordListTest"
35
36 for t in $TESTS; do
37 einfo "Running test $t..."
38 # the quickcheck tests doesn't fail when the test fails...
39 "${S}/dist/build/$t/$t" || die "Test $t failed"
40 done
41 }
42
43 src_install() {
44 cabal_src_install
45
46 rm -rf "${D}/usr/bin" 2>/dev/null
47 }

  ViewVC Help
Powered by ViewVC 1.1.20