mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-14 21:27:01 +02:00
31 lines
796 B
Bash
31 lines
796 B
Bash
# Template file for 're'
|
|
pkgname=re
|
|
version=3.20.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DUSE_OPENSSL=yes"
|
|
makedepends="openssl-devel zlib-devel"
|
|
short_desc="Portable library for real-time communications"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/baresip/re/"
|
|
distfiles="https://github.com/baresip/re/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=26c946b69d3e4bafff60e5d09c7e01ccb2b097d5b732cbeb4043399a86a4bc0c
|
|
|
|
CFLAGS=-D_GNU_SOURCE
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
re-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision} openssl-devel zlib-devel"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|