File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ SUMMARY = "swift-xctest"
2
+ DESCRIPTION = "A common framework for writing unit tests in Swift."
3
+ HOMEPAGE = "https://github.com/swiftlang/swift-corelibs-xctest"
4
+
5
+ SWIFT_BUILD_TESTS = "0"
6
+
7
+ LICENSE = "Apache-2.0"
8
+ LIC_FILES_CHKSUM = "file://LICENSE;md5=1cd73afe3fb82e8d5c899b9d926451d0"
9
+
10
+ require swift -version . inc
11
+ PV = "${SWIFT_VERSION} +git${SRCPV} "
12
+
13
+ SRC_URI = "git://github.com/swiftlang/swift-corelibs-xctest.git;protocol=https;tag=swift-${SWIFT_VERSION} -RELEASE;nobranch=1"
14
+
15
+ S = "${WORKDIR} /git"
16
+ B = "${WORKDIR} /build"
17
+
18
+ inherit swift
19
+
20
+ TARGET_LDFLAGS += "-L${STAGING_DIR_TARGET} /usr/lib/swift/linux"
21
+
22
+ do_install () {
23
+ install -d ${D}${libdir} /swift /linux
24
+
25
+ install -m 0755 ${BUILD_DIR} /libXCTest . so ${D}${libdir} /swift /linux
26
+ install -m 0644 ${BUILD_DIR} /Modules /XCTest . swiftmodule ${D}${libdir} /swift /linux
27
+ install -m 0644 ${BUILD_DIR} /Modules /XCTest . swiftdoc ${D}${libdir} /swift /linux
28
+
29
+ rm -f ${BUILD_DIR} /Modules /XCTest . swiftsourceinfo
30
+ }
31
+
32
+ FILES :${PN} = "\
33
+ ${libdir} /swift/linux/libXCTest.so \
34
+ "
35
+
36
+ FILES :${PN} -dev = "\
37
+ ${libdir} /swift/linux/XCTest.swiftmodule \
38
+ ${libdir} /swift/linux/XCTest.swiftdoc \
39
+ "
You can’t perform that action at this time.
0 commit comments