wok view mktorrent/receipt @ rev 25385
updated unixODBC, unixODBC-dev and libunixODBC (2.3.7 -> 2.3.11)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 17:45:45 2022 +0100 (2022-07-30) |
parents | b569b85b0fb9 |
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/Rudde/mktorrent"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 HOST_ARCH="i486 arm x86_64"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE/tags 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/local/bin $fs/usr
38 }
40 testsuite()
41 {
42 readelf -h $install/usr/local/bin/$PACKAGE
43 }