blob: 5bbb3be0c2f7f9157c31f4067f7cd64a2cfd868d (
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
|
# $NetBSD: Makefile,v 1.11 2021/07/30 12:26:39 ryoon Exp $
DISTNAME= librespot-0.2.0
PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GITHUB:=librespot-org/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pin@NetBSD.org
HOMEPAGE= https://github.com/librespot-org/librespot/
COMMENT= Open Source Spotify client library
LICENSE= mit
.include "cargo-depends.mk"
USE_LANGUAGES+= c # rust, but needs a toolchain to link
USE_TOOLS+= pkg-config
INSTALLATION_DIRS= bin
CARGO_NO_DEFAULT_FEATURES= yes
.include "options.mk"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/librespot ${DESTDIR}${PREFIX}/bin
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
|