wok annotate mktorrent/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (7 months ago) |
parents | b569b85b0fb9 |
children |
rev | line source |
---|---|
pascal@15207 | 1 # SliTaz package receipt. |
pascal@15207 | 2 |
pascal@15207 | 3 PACKAGE="mktorrent" |
Hans-G?nter@21449 | 4 VERSION="1.1" |
pascal@15207 | 5 CATEGORY="network" |
pascal@15207 | 6 SHORT_DESC="Command line utility to create BitTorrent metainfo files." |
pascal@15207 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15207 | 8 LICENSE="GPL2" |
pascal@24308 | 9 WEB_SITE="https://github.com/Rudde/mktorrent" |
Hans-G?nter@21449 | 10 |
pascal@15207 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24974 | 12 WGET_URL="$WEB_SITE/archive/v$VERSION/$TARBALL" |
pascal@15207 | 13 |
pascal@15207 | 14 DEPENDS="" |
pascal@15207 | 15 BUILD_DEPENDS="" |
pascal@15207 | 16 |
Hans-G?nter@21449 | 17 HOST_ARCH="i486 arm x86_64" |
Hans-G?nter@21449 | 18 |
pascal@24308 | 19 # What is the latest version available today? |
pascal@24308 | 20 current_version() |
pascal@24308 | 21 { |
pascal@24308 | 22 wget -O - $WEB_SITE/tags 2>/dev/null | \ |
pascal@24308 | 23 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 24 } |
pascal@24308 | 25 |
pascal@15207 | 26 # Rules to configure and make the package. |
pascal@15207 | 27 compile_rules() |
pascal@15207 | 28 { |
pascal@15207 | 29 make && |
pascal@15207 | 30 make DESTDIR=$DESTDIR install |
pascal@15207 | 31 } |
pascal@15207 | 32 |
pascal@15207 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15207 | 34 genpkg_rules() |
pascal@15207 | 35 { |
pascal@15207 | 36 mkdir -p $fs/usr |
pascal@15207 | 37 cp -a $install/usr/local/bin $fs/usr |
pascal@15207 | 38 } |
pankso@15987 | 39 |
pankso@15987 | 40 testsuite() |
pankso@15987 | 41 { |
pankso@15987 | 42 readelf -h $install/usr/local/bin/$PACKAGE |
pankso@15987 | 43 } |