wok view mktorrent/receipt @ rev 25843

Update some urls
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 21 09:04:33 2025 +0000 (3 weeks ago)
parents e1e1678c5265
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mktorrent"
4 VERSION="1.1"
5 CATEGORY="network"
6 SHORT_DESC="Command line utility to create BitTorrent metainfo files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/pobrn/mktorrent"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/archive/v$VERSION/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 HOST_ARCH="i486 arm x86_64"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/local/bin $fs/usr
37 }
39 testsuite()
40 {
41 readelf -h $install/usr/local/bin/$PACKAGE
42 }