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