pkgsrc/security/cargo-audit/Makefile
wiz 35e3550a10 cargo-audit: update to 0.17.0.
Changes not found.
2022-05-29 07:36:34 +00:00

26 lines
822 B
Makefile

# $NetBSD: Makefile,v 1.4 2022/05/29 07:36:34 wiz Exp $
DISTNAME= cargo-audit-0.17.0
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=rustsec/}
GITHUB_TAG= cargo-audit/v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/rustsec/cargo-audit/
COMMENT= Audit Cargo.lock files for crates with security vulnerabilities
LICENSE= apache-2.0 # or MIT
.include "cargo-depends.mk"
WRKSRC= ${WRKDIR}/rustsec-cargo-audit-v${PKGVERSION_NOREV}
USE_LANGUAGES= c
INSTALLATION_DIRS= bin
MAKE_ENV+= OPENSSL_DIR=${BUILDLINK_PREFIX.openssl}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/cargo-audit ${DESTDIR}${PREFIX}/bin
.include "../../lang/rust/cargo.mk"
.include "../../lang/rust/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"