wok-current view dog/receipt @ rev 23994
linld: no initrd fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 15 08:41:50 2020 +0000 (2020-12-15) |
parents | 643fcf173228 |
children | 5ea0ce1cecc0 |
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 }