-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
29 lines (27 loc) · 836 Bytes
/
Package.swift
File metadata and controls
29 lines (27 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "LDNS",
products: [
// ldns.xcframework
.library(
name: "libldns",
targets: ["libldns"]),
// LDNS libray, can be imported by swift
.library(
name: "LDNS",
targets: ["LDNS", "libldns"]),
],
dependencies: [
],
targets: [
.binaryTarget(
name: "libldns",
url: "https://github.com/codinn/LDNS/releases/download/1.8.3-p1/ldns.xcframework.zip",
checksum: "4ede5085dbcb1dc0402d58eb42b15db8190810d9a87f1f9017e7c389aff48abc"
),
.target(name: "LDNS",
dependencies: ["libldns"])
]
)