Import llgo-4.0.0nb20160911 as wip/llgo-git.
authorKamil Rytarowski <n54@gmx.com>
Sun, 11 Sep 2016 11:25:25 +0000 (13:25 +0200)
committerKamil Rytarowski <n54@gmx.com>
Sun, 11 Sep 2016 11:25:25 +0000 (13:25 +0200)
llgo is a Go (http://golang.org) frontend for LLVM, written in Go.

llgo-git/DESCR [new file with mode: 0644]
llgo-git/Makefile [new file with mode: 0644]
llgo-git/PLIST [new file with mode: 0644]
llgo-git/buildlink3.mk [new file with mode: 0644]
llgo-git/distinfo [new file with mode: 0644]

diff --git a/llgo-git/DESCR b/llgo-git/DESCR
new file mode 100644 (file)
index 0000000..573f455
--- /dev/null
@@ -0,0 +1 @@
+llgo is a Go (http://golang.org) frontend for LLVM, written in Go.
diff --git a/llgo-git/Makefile b/llgo-git/Makefile
new file mode 100644 (file)
index 0000000..5c614d7
--- /dev/null
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile.common,v 1.7 2015/07/20 05:49:53 adam Exp $
+
+PKGNAME=       llgo-4.0.0
+CATEGORIES=    devel
+
+GIT_REPOSITORIES=      llgo
+GIT_REPO.llgo=         git://github.com/llvm-mirror/llgo.git
+
+MAINTAINER=    pkgsrc-users@NetBSD.org
+HOMEPAGE=      http://lld.llvm.org/
+COMMENT=       Go frontend for LLVM, written in Go
+LICENSE=       modified-bsd
+
+WRKSRC=                        ${WRKDIR}/${PKGBASE}
+CONFIGURE_DIRS=                ${WRKDIR}/build
+CMAKE_ARG_PATH=                ${WRKSRC}
+
+USE_LANGUAGES=         c c++
+USE_CMAKE=             yes
+GCC_REQD+=             4.8
+
+CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+=   -DCMAKE_C_COMPILER=${CC:Q}
+CMAKE_ARGS+=   -DCMAKE_CXX_COMPILER=${CXX:Q}
+
+post-extract:
+       ${RUN} mkdir -p ${WRKDIR}/build
+
+DEPENDS+=      llvm-${PKGVERSION_NOREV}{,nb*}:../../wip/llvm-git
+.include "../../wip/llvm-git/buildlink3.mk"
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/llgo-git/PLIST b/llgo-git/PLIST
new file mode 100644 (file)
index 0000000..4e02bf6
--- /dev/null
@@ -0,0 +1,39 @@
+@comment $NetBSD$
+bin/ld.lld
+bin/lld
+bin/lld-link
+include/lld/Config/Version.h
+include/lld/Core/AbsoluteAtom.h
+include/lld/Core/ArchiveLibraryFile.h
+include/lld/Core/Atom.h
+include/lld/Core/DefinedAtom.h
+include/lld/Core/Error.h
+include/lld/Core/File.h
+include/lld/Core/Instrumentation.h
+include/lld/Core/LLVM.h
+include/lld/Core/LinkingContext.h
+include/lld/Core/Node.h
+include/lld/Core/Parallel.h
+include/lld/Core/Pass.h
+include/lld/Core/PassManager.h
+include/lld/Core/Reader.h
+include/lld/Core/Reference.h
+include/lld/Core/Reproduce.h
+include/lld/Core/Resolver.h
+include/lld/Core/SharedLibraryAtom.h
+include/lld/Core/SharedLibraryFile.h
+include/lld/Core/Simple.h
+include/lld/Core/SymbolTable.h
+include/lld/Core/UndefinedAtom.h
+include/lld/Core/Writer.h
+include/lld/Driver/Driver.h
+include/lld/ReaderWriter/MachOLinkingContext.h
+include/lld/ReaderWriter/YamlContext.h
+lib/liblldCOFF.a
+lib/liblldConfig.a
+lib/liblldCore.a
+lib/liblldDriver.a
+lib/liblldELF.a
+lib/liblldMachO.a
+lib/liblldReaderWriter.a
+lib/liblldYAML.a
diff --git a/llgo-git/buildlink3.mk b/llgo-git/buildlink3.mk
new file mode 100644 (file)
index 0000000..98c67fd
--- /dev/null
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=       lld
+
+.if !defined(LLD_BUILDLINK3_MK)
+LLD_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.lld+=    lld>=4.0.0nb20160910
+BUILDLINK_PKGSRCDIR.lld?=      ../../wip/lld-git
+
+.include "../../wip/llvm-git/buildlink3.mk"
+.endif # LLD_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -lld
diff --git a/llgo-git/distinfo b/llgo-git/distinfo
new file mode 100644 (file)
index 0000000..7931384
--- /dev/null
@@ -0,0 +1,14 @@
+$NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
+
+SHA1 (cfe-3.6.2.src.tar.xz) = 7ba809c9c17819a16b668640a642ed134d7052f0
+RMD160 (cfe-3.6.2.src.tar.xz) = 10d913b4d5317f8c2520e5fc6117df30937317a8
+Size (cfe-3.6.2.src.tar.xz) = 8617576 bytes
+SHA1 (compiler-rt-3.6.2.src.tar.xz) = c6c52d2923a60f1a2ca2f22fea1770fd2e25728d
+RMD160 (compiler-rt-3.6.2.src.tar.xz) = 9b68a32d49d4bef4603d550934192f39fea42895
+Size (compiler-rt-3.6.2.src.tar.xz) = 1128080 bytes
+SHA1 (libcxx-3.6.2.src.tar.xz) = 6c5aee9f05ecf17d1e3ecb1add34a33a5a904469
+RMD160 (libcxx-3.6.2.src.tar.xz) = 42b8832d01d4e6b553babc93cb5dbd4ce2bb1931
+Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
+SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
+RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
+Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes