2013-06-18 09:07:24 +00:00
|
|
|
# Template file for 'ldc'
|
|
|
|
pkgname=ldc
|
|
|
|
version=0.11.0
|
2014-06-08 09:52:36 +00:00
|
|
|
revision=2
|
2013-06-18 09:07:24 +00:00
|
|
|
wrksrc="$pkgname-$version-src"
|
|
|
|
build_style=cmake
|
|
|
|
hostmakedepends="cmake llvm>=3.3"
|
|
|
|
makedepends="libconfig++-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/ldc2.rebuild.conf /etc/ldc2.conf"
|
2014-06-08 09:52:36 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-06-18 09:07:24 +00:00
|
|
|
homepage="http://wiki.dlang.org/LDC"
|
|
|
|
license="BSD"
|
|
|
|
short_desc="Portable D programming language compiler based on LLVM"
|
|
|
|
distfiles="http://d32gngvpvl2pi1.cloudfront.net/$pkgname-$version-src.tar.gz"
|
|
|
|
checksum="5571292adc195f9822b17df9bea86856fa26f9bb85b025bf9d7f566192b6375d"
|
|
|
|
|
|
|
|
LDFLAGS="-lpthread"
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vmkdir usr/share/bash-completion/completions
|
|
|
|
mv ${DESTDIR}/etc/bash_completion.d/* \
|
|
|
|
${DESTDIR}/usr/share/bash-completion/completions
|
|
|
|
}
|