wok view dog/receipt @ rev 24277
updated python-http-parser (0.8.3 -> 0.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 06 07:57:35 2022 +0100 (2022-01-06) |
parents | 9e3f3168b169 |
children | fe1b5660fdd1 |
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 }