1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION
="the D Shared Software System"
8 HOMEPAGE
="http://www.dsource.org/projects/dsss"
9 SRC_URI
="http://svn.dsource.org/projects/dsss/downloads/${PV}/${P}.tar.bz2"
16 DEPEND
="!dev-libs/phobos
22 if ! built_with_use sys-devel
/gcc d
; then
24 eerror
"you need to compile sys-devel/gcc with d useflag "
26 die
"No suitable D compiler found!"
33 emake
-j1 -f Makefile.gdc.posix || die
"make failed"
39 .
/dsss
install --prefix=${D}/usr
/ --sysconfdir=${D}/etc
/ \
40 --includedir=${D}/usr
/include
/d
/ || die
"install failed"