summaryrefslogtreecommitdiff
path: root/devel/android-tools/Makefile
blob: 0d3077a87cdcd9f12dea85cdb47a9339a0e05b44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
PORTNAME=	android-tools
PORTVERSION=	31.0.3p2.0
PORTREVISION=	20
CATEGORIES=	devel
MASTER_SITES=	GH

MAINTAINER=	nc@FreeBSD.org
COMMENT=	Android debugging tools
WWW=		https://github.com/neelchauhan/freebsd-android-tools

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN_aarch64=	ld: error: undefined symbol: OPENSSL_cpuid_setup

LIB_DEPENDS=	libbrotlicommon.so:archivers/brotli \
		libgmock.so:devel/googletest \
		liblz4.so:archivers/liblz4 \
		libpcre2-8.so:devel/pcre2 \
		libprotobuf.so:devel/protobuf \
		libzstd.so:archivers/zstd

USES=		cmake compiler:c++17-lang go:no_targets localbase:ldflags perl5 python shebangfix

USE_GITHUB=	yes
GH_ACCOUNT=	neelchauhan
GH_PROJECT=	freebsd-${PORTNAME}
GH_TAGNAME=	271d7a26c8daf4b9fe412d360a2edfaca327efdd

SHEBANG_FILES=	vendor/mkbootimg/repack_bootimg.py \
		vendor/mkbootimg/mkbootimg.py \
		vendor/mkbootimg/unpack_bootimg.py

MAKE_ENV+=	GOFLAGS=-mod=vendor \
		GOPATH=${WRKSRC}/vendor/boringssl/vendor \
		GOPROXY=off

LDFLAGS+=	-labsl_status

.include <bsd.port.mk>