summaryrefslogtreecommitdiff
path: root/packages/dev-haskell/ReadArgs/ReadArgs-1.2.2.exheres-0
blob: 1daa38aaf62fd204f66fa86c3a3090a1e163764f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2012 Markus Rothe
# Distributed under the terms of the GNU General Public License v2

require hackage [ has_bin=true ]

SUMMARY="Simple command line argument parsing"

LICENCES="BSD-3"
PLATFORMS="~amd64"
MYOPTIONS=""

DEPENDENCIES="
    $(haskell_lib_dependencies "
        dev-haskell/system-filepath[>=0.4.7&<0.5]
        dev-haskell/text[>=0.11.1.13&<12]
    ")
    $(haskell_test_dependencies "
         dev-haskell/hspec[>=1.3&<2.2]
    ")
"

src_install() {
    cabal_src_install
    alternatives_for ${PN} ${PV} ${SLOT} /usr/bin/ReadArgsEx ReadArgsEx-${PV}
}