Initial commit
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
[build]
|
||||
type = "cmake"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
configure = [
|
||||
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
|
||||
"-DCMAKE_SKIP_INSTALL_RPATH=TRUE",
|
||||
"-DEVENT__DISABLE_REGRESS=OFF",
|
||||
"-DEVENT__LIBRARY_TYPE=SHARED",
|
||||
"-G Ninja",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"cmake",
|
||||
"ninja",
|
||||
"python",
|
||||
]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"openssl",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Event notification library"
|
||||
homepage = "https://libevent.org/"
|
||||
license = "BSD-3-Clause-Modification"
|
||||
name = "libevent"
|
||||
version = "2.1.12"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb"
|
||||
url = "https://github.com/libevent/libevent/releases/download/release-$version-stable/libevent-$version-stable.tar.gz"
|
||||
patches = [ "EVENT__SIZEOF_TIME_T.patch", "libevent-2.1.12-openssl-compat.patch" ]
|
||||
|
||||
[[manual_sources]]
|
||||
files = [ "EVENT__SIZEOF_TIME_T.patch", "libevent-2.1.12-openssl-compat.patch" ]
|
||||
|
||||
Reference in New Issue
Block a user