wok-4.x annotate pv/receipt @ rev 10392
gparted: can't cross (use native)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 23 18:59:09 2011 +0200 (2011-05-23) |
parents | |
children |
rev | line source |
---|---|
allan316@3317 | 1 # SliTaz package receipt. |
allan316@3317 | 2 |
allan316@3317 | 3 PACKAGE="pv" |
allan316@3317 | 4 VERSION="1.1.4" |
allan316@3317 | 5 CATEGORY="misc" |
allan316@3317 | 6 SHORT_DESC="pipe viewer for monitoring data through a pipeline" |
allan316@3317 | 7 MAINTAINER="allan316@gmail.com" |
allan316@3317 | 8 DEPENDS="" |
allan316@3317 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@3317 | 10 WEB_SITE="http://www.ivarch.com/programs/pv.shtml" |
allan316@3317 | 11 WGET_URL="http://pipeviewer.googlecode.com/files/$TARBALL" |
allan316@3317 | 12 |
allan316@3317 | 13 # Rules to configure and make the package. |
allan316@3317 | 14 compile_rules() |
allan316@3317 | 15 { |
allan316@3317 | 16 cd $src |
allan316@3317 | 17 ./configure \ |
allan316@3317 | 18 --prefix=/usr \ |
allan316@3317 | 19 --infodir=/usr/share/info \ |
allan316@3317 | 20 --mandir=/usr/share/man \ |
allan316@3317 | 21 $CONFIGURE_ARGS && |
allan316@3317 | 22 make && make DESTDIR=$PWD/_pkg install |
allan316@3317 | 23 } |
allan316@3317 | 24 |
allan316@3317 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3317 | 26 genpkg_rules() |
allan316@3317 | 27 { |
allan316@3317 | 28 mkdir -p $fs/usr |
allan316@3317 | 29 cp -a $_pkg/usr/bin $fs/usr |
allan316@3317 | 30 |
allan316@3317 | 31 } |
allan316@3317 | 32 |