#!/bin/bash source $(dirname $0)/global.sh PACKAGE=parallel VERSION=20100620 # extension_package_date - 2010/07/15 VERSION=20100922 # extension_package_date - 2010/09/25 current version DEP_DEV="" # dependencies during compilation DEP_RLS="perl5.tcz" # dependencies at stable status AUTHOR="Ole Tange" LICENSE="GPL" HOMEPAGE=http://www.gnu.org/software/parallel/ DOWNLOAD_URL=http://ftp.gnu.org/gnu/parallel/$PACKAGE-$VERSION.tar.bz2 ADDITIONAL_INFO="GNU parallel is a shell tool for executing jobs in parallel locally or using remote machines" compile_parallel () { # actually it is not compiling , because gnu parallel is written in perl # so we just need to extract the 'parallel' file from the tar and place it # in /usr/local/bin tce-load -wi $DEP_DEV cd wget -qO- $DOWNLOAD_URL | tar -${TARFLAGS}- cd $PACKAGE-$VERSION mkdir -p $TMP_PKG/usr/local/bin/ cp src/parallel $TMP_PKG/usr/local/bin/ # cp $TMP_PKG/usr/local/bin/parallel ~/ } package