30 lines
877 B
Bash
30 lines
877 B
Bash
# Template file for 'opmsg'
|
|
pkgname=opmsg
|
|
version=1.78s
|
|
revision=1
|
|
wrksrc="${pkgname}-rel-${version}"
|
|
build_wrksrc=src
|
|
build_style=gnu-makefile
|
|
make_use_env=yes
|
|
makedepends="libressl-devel"
|
|
short_desc="Replacement for gpg which can encrypt/sign/verify your mails"
|
|
maintainer="travankor <travankor@tuta.io>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/stealth/opmsg"
|
|
distfiles="https://github.com/stealth/opmsg/archive/rel-${version}.tar.gz"
|
|
checksum=e5dd6aaafddceb1c9eda755acc6763f91a2d724bd6b58214d198c9e72c8043da
|
|
|
|
do_configure() {
|
|
vsed -e "s|^INC=.*|INC += -I${XBPS_CROSS_BASE}/usr/include|" \
|
|
-e "10iLIBS+=-L${XBPS_CROSS_BASE}/usr/lib" \
|
|
-e 's|^DEFS=$|DEFS += -DHAVE_LIBRESSL|' \
|
|
-e "s|^LDFLAGS=$|LDFLAGS+=-L${XBPS_CROSS_BASE}/usr/lib|" \
|
|
-e "s|^CXX=c++$|CXX=${CXX}|" \
|
|
-e 's|^LD=c++$|LD=$(CXX)|' \
|
|
-i Makefile
|
|
}
|
|
|
|
do_install() {
|
|
vbin opmsg
|
|
}
|