On Tue, 10 Mar 2020 at 15:06:38 +0100, Renaud Allard wrote:
> 
> 
> On 3/10/20 2:01 PM, Renaud Allard wrote:
> > 
> > 
> > On 3/10/20 1:50 PM, Renaud Allard wrote:
> >> Hello,
> >>
> >> Now that matrix synapse server has been imported into base, we can also
> >> import mautrix-whatsapp which is a synapse bridge server for whatsapp.
> >> The mirror is on one of my servers since the the original source doesn't
> >> provide a vendor folder for this go port.
> >>
> >> Any comments?
> >>
> > 
> > Here is is again with some corrections proposed on irc.
> > 
> Sorry for the fast changes, this one should hopefully be the last one.
> Makefile is more optimized for GO specialities.

Here is the makefile with a few more tweaks:
  - Add "m" to WANTLIB
  - Remove the TEST_DEPENDS and disable tests

It might be worth noting the commit that 20200225 corresponds to. Also maybe a
note about the webp.h file and how to roll it into the distfile.

OK abieber@ for the below:

---8<--- 
# $OpenBSD: Makefile,v 1.6 2017/02/11 22:21:58 danj Exp $

COMMENT =       matrix-WhatsApp puppeting bridge

V =             20200225
DISTNAME =      mautrix-whatsapp-${V}

CATEGORIES =    net

HOMEPAGE =      https://github.com/tulir/mautrix-whatsapp

MAINTAINER =    Renaud Allard <ren...@allard.it>

WANTLIB += c m pthread

MASTER_SITES =  https://elendil.arnor.org/OpenBSD/

# GNU Affero General Public License v3.0
PERMIT_PACKAGE =        Yes

MODULES =               lang/go

ALL_TARGET =            maunium.net/go/mautrix-whatsapp

NO_TESTS =              Yes

do-install:
        ${INSTALL_PROGRAM} ${MODGO_WORKSPACE}/bin/mautrix-whatsapp \
        ${PREFIX}/bin

        ${INSTALL_DATA_DIR} \
        ${PREFIX}/share/examples/mautrix-whatsapp
        ${INSTALL_DATA} ${WRKSRC}/example-config.yaml \
        ${PREFIX}/share/examples/mautrix-whatsapp

.include <bsd.port.mk>
--->8---

-- 
PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A  4AF0 1F81 112D 62A9 ADCE

Reply via email to