#!/bin/bash source $(dirname $0)/global.sh PACKAGE=pv VERSION=1.1.4 DEP_DEV="" # dependencies during compilation DEP_RLS="" # dependencies at stable status AUTHOR="Andrew Wood" LICENSE="GPL" HOMEPAGE=http://www.ivarch.com/programs/pv.shtml DOWNLOAD_URL=http://pipeviewer.googlecode.com/files/$PACKAGE-$VERSION.tar.bz2 ADDITIONAL_INFO="pv - Pipe Viewer - is a terminal-based tool for monitoring the progress of data through a pipeline." compile_pv () { set_cflags tce-load -wi compiletc $DEP_DEV cd wget -qO- $DOWNLOAD_URL | tar -${TARFLAGS}- #ln -s /usr/local/bin/xml2-config /usr/local/bin/xml-config cd $DIRNAME #export XML_CFLAGS="$(xml2-config --cflags) -I /usr/local/include/libxml2/libxml" #export XML_LIBS=$(xml2-config --libs) ./configure make $MAKE_J_FLAG make DESTDIR=$TMP_PKG install cd .. #rm -fr $DIRNAME } package