wok annotate pv/receipt @ rev 13215
broadcom-wl: update compile-rules for rescent kernels
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 10 17:00:01 2012 +0200 (2012-08-10) |
parents | |
children | bf4a09ef1d2e |
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 |