wok annotate parallel/receipt @ rev 24502
updated drupal (8.8.1 -> 9.3.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 10:12:06 2022 +0100 (2022-02-20) |
parents | a3322c07c687 |
children | 22cb2ed9e1df |
rev | line source |
---|---|
pascal@20183 | 1 # SliTaz package receipt. |
pascal@20183 | 2 |
pascal@20183 | 3 PACKAGE="parallel" |
Hans-G?nter@23276 | 4 VERSION="20200322" |
pascal@20183 | 5 CATEGORY="base-system" |
Hans-G?nter@21657 | 6 TAGS="sync" |
Hans-G?nter@21657 | 7 SHORT_DESC="A tool for executing jobs in parallel using one or more computers." |
pascal@20183 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20183 | 9 LICENSE="GPL3" |
Hans-G?nter@21657 | 10 WEB_SITE="https://www.gnu.org/software/parallel/" |
Hans-G?nter@21657 | 11 |
pascal@20183 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20183 | 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@20183 | 14 |
pascal@24336 | 15 # What is the latest version available today? |
pascal@24336 | 16 current_version() |
pascal@24336 | 17 { |
pascal@24336 | 18 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24336 | 19 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24336 | 20 } |
pascal@24336 | 21 |
pascal@20183 | 22 # Rules to configure and make the package. |
pascal@20183 | 23 compile_rules() |
pascal@20183 | 24 { |
pascal@20533 | 25 sed -i 's,|| true,2> /dev/null &,' src/Makefile* |
Hans-G?nter@21657 | 26 |
Hans-G?nter@21657 | 27 ./configure \ |
Hans-G?nter@21657 | 28 --prefix=/usr \ |
Hans-G?nter@21657 | 29 --mandir=/usr/share/man \ |
pascal@20183 | 30 $CONFIGURE_ARGS && |
pascal@20183 | 31 make && |
pascal@20183 | 32 make DESTDIR=$DESTDIR install |
pascal@20183 | 33 } |
pascal@20183 | 34 |
pascal@20183 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20183 | 36 genpkg_rules() |
pascal@20183 | 37 { |
pascal@20183 | 38 mkdir -p $fs/usr |
Hans-G?nter@23276 | 39 cp -a $install/usr/bin $fs/usr |
pascal@20183 | 40 } |