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