wok-6.x view dog/receipt @ rev 25068

updated alsa-tools packages (1.1.5 -> 1.2.5)
author Hans-G?nter Theisgen
date Fri Jun 10 13:52:51 2022 +0100 (2022-06-10)
parents 9e3f3168b169
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cargo build --release
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/target/release/dog $fs/usr/bin
34 }