linux_void/srcpkgs/sstp-client/template

45 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2024-01-27 16:06:25 +01:00
# Template file for 'sstp-client'
pkgname=sstp-client
version=1.0.19
revision=1
build_style=gnu-configure
configure_script=./autogen.sh
hostmakedepends="pkg-config autoconf automake libtool"
makedepends="libevent-devel ppp-devel libtls-devel"
depends="libsstp>=${version}_${revision}"
short_desc="A client implementation of Secure Socket Tunneling Protocol (SSTP)"
maintainer="ITmodulo <itmodulo@disroot.org>"
license="GPL-3.0-or-later"
homepage="https://gitlab.com/eivnaes/sstp-client"
distfiles="https://gitlab.com/eivnaes/sstp-client/-/archive/${version}/sstp-client-${version}.tar.gz"
checksum=e2652365f69f5037102e78f4e115ff764a390b27bb3fd513a8a50b10a61bb613
pppd_plugin_version=2.4.7
sstp-client-devel_package(){
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
vmove "usr/lib/pppd/${pppd_plugin_version}/*.a"
}
}
sstp-client-doc_package(){
short_desc+=" - documentation files"
pkg_install() {
vmove usr/share/doc
vmove usr/share/man
}
}
libsstp_package(){
short_desc+="sstp-client (libsstp_api-X.so sstp-pppd-plugin.so) - shared libraries"
shlib_provides="libsstp_api-0.so sstp-pppd-plugin.so"
pkg_install() {
vmove "usr/lib/pppd/${pppd_plugin_version}/*.so"
vmove "usr/lib/*.so"
}
}