Mercurial > urweb
annotate urweb.ebuild @ 1549:355a928871ff
Gracefully accept browser's refusal to let us set certain AJAX headers
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Fri, 26 Aug 2011 09:51:38 -0400 |
parents | 204ca664b5d6 |
children | 3b57a6ddef1a |
rev | line source |
---|---|
adam@1442 | 1 # Distributed under the terms of the BSD3 license |
adam@1442 | 2 |
adam@1442 | 3 # This file needs to be renamed to something like "urweb-20110123.ebuild", to reflect the Ur/Web version to use. |
adam@1442 | 4 # It won't work with versions from Ur/Web Mercurial repository snapshots older than this file. |
adam@1442 | 5 # (The specific version number referenced above is an example of a version that _won't_ work! |
adam@1442 | 6 # There hasn't yet been an official release that will.) |
adam@1442 | 7 |
adam@1442 | 8 inherit eutils |
adam@1442 | 9 |
adam@1442 | 10 EAPI=3 |
adam@1442 | 11 |
adam@1442 | 12 DESCRIPTION="A domain-specific functional programming language for modern web applications" |
adam@1442 | 13 HOMEPAGE="http://www.impredicative.com/ur/" |
adam@1442 | 14 SRC_URI="http://www.impredicative.com/ur/${P}.tgz" |
adam@1442 | 15 |
adam@1442 | 16 LICENSE="BSD" |
adam@1442 | 17 SLOT="0" |
adam@1442 | 18 KEYWORDS="~amd64 ~x86" |
adam@1442 | 19 IUSE="" |
adam@1442 | 20 |
adam@1442 | 21 DEPEND="dev-lang/mlton |
adam@1442 | 22 dev-libs/openssl" |
adam@1442 | 23 RDEPEND="${DEPEND}" |
adam@1442 | 24 |
adam@1442 | 25 S="${WORKDIR}/urweb" |
adam@1442 | 26 |
adam@1442 | 27 src_unpack() { |
adam@1442 | 28 unpack ${A} |
adam@1442 | 29 } |
adam@1442 | 30 |
adam@1442 | 31 src_configure() { |
adam@1442 | 32 econf || die |
adam@1442 | 33 } |
adam@1442 | 34 |
adam@1442 | 35 src_compile() { |
adam@1442 | 36 emake || die |
adam@1442 | 37 } |
adam@1442 | 38 |
adam@1442 | 39 src_install() { |
adam@1442 | 40 emake DESTDIR=${D} install || die |
adam@1442 | 41 dodoc CHANGELOG || die |
adam@1442 | 42 } |