32 lines
795 B
Bash
32 lines
795 B
Bash
# Template file for 're'
|
|
pkgname=re
|
|
version=3.6.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=12a46474875ef39f1179aca0138939bd84bb9357f54341518022a203c110d879
|
|
|
|
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
|
|
}
|
|
}
|