28 lines
796 B
Bash
28 lines
796 B
Bash
# Template file for 'opmsg'
|
|
pkgname=opmsg
|
|
version=1.78s
|
|
revision=4
|
|
build_wrksrc=src
|
|
build_style=gnu-makefile
|
|
make_use_env=yes
|
|
makedepends="openssl-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|^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
|
|
}
|