wok view dog/receipt @ rev 23982

dog: fix bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 21 13:13:55 2020 +0000 (3 months ago)
parents 643fcf173228
children
line source
1 # SliTaz package receipt.
3 PACKAGE="dog"
4 VERSION="0.1.0"
5 CATEGORY="network"
6 SHORT_DESC="A command-line DNS client"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="EUPL 1.2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://dns.lookup.dog/"
11 WGET_URL="https://github.com/ogham/dog/archive/v$VERSION.tar.gz"
12 TAGS="dns"
14 DEPENDS="libssl libcrypto"
15 BUILD_DEPENDS="rust-cargo git openssl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cargo build --release
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $src/target/release/dog $fs/usr/bin
28 }