New package: raft-0.9.16.
This commit is contained in:
parent
8bf7bfc983
commit
60b693d1da
|
@ -3746,3 +3746,4 @@ libgtk-layer-shell.so.0 wf-shell-0.3_1
|
|||
librdkafka.so.1 librdkafka-1.3.0_1
|
||||
librdkafka++.so.1 librdkafka-1.3.0_1
|
||||
libco.so.0 libco-20_1
|
||||
libraft.so.0 raft-0.9.16_1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
raft
|
|
@ -0,0 +1,33 @@
|
|||
# Template file for 'raft'
|
||||
pkgname=raft
|
||||
version=0.9.16
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-example=no"
|
||||
hostmakedepends="pkg-config autoconf automake libtool"
|
||||
makedepends="libuv-devel"
|
||||
short_desc="C implementation of the Raft consensus protocol"
|
||||
maintainer="Julio Galvan <juliogalvan@protonmail.com>"
|
||||
license="custom:LGPL-3.0-only-linking-exception"
|
||||
homepage="https://github.com/canonical/raft"
|
||||
distfiles="https://github.com/canonical/raft/archive/v${version}.tar.gz"
|
||||
checksum=b4c4ac15dd74a4c2bbe86149cb5fc1b937979a62e97439615175e3e218fac512
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -i
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
raft-devel_package() {
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue