wok-current annotate ftop/receipt @ rev 18086
Rebuild Python packages to remove "*.pyc" files from packages files.lists (part last)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 23 16:17:14 2015 +0300 (2015-05-23) |
parents | |
children | e3f377fbc5f0 |
rev | line source |
---|---|
paul@16355 | 1 # SliTaz package receipt. |
paul@16355 | 2 |
paul@16355 | 3 PACKAGE="ftop" |
paul@16355 | 4 VERSION="1.0" |
paul@16355 | 5 CATEGORY="utilities" |
paul@16355 | 6 SHORT_DESC="Show progress of open files and file systems." |
paul@16355 | 7 MAINTAINER="paul@slitaz.org" |
paul@16355 | 8 LICENSE="GPL2.1" |
paul@16355 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@16355 | 10 WEB_SITE="https://code.google.com/p/ftop/" |
paul@16355 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@16355 | 12 |
paul@16355 | 13 DEPENDS="ncurses" |
paul@16355 | 14 BUILD_DEPENDS="ncurses-dev" |
paul@16355 | 15 |
paul@16355 | 16 # Rules to configure and make the package. |
paul@16355 | 17 compile_rules() |
paul@16355 | 18 { |
paul@16355 | 19 cd $src |
paul@16355 | 20 ./configure \ |
paul@16355 | 21 --prefix=/usr \ |
paul@16355 | 22 make && make DESTDIR=$DESTDIR install |
paul@16355 | 23 } |
paul@16355 | 24 |
paul@16355 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@16355 | 26 genpkg_rules() |
paul@16355 | 27 { |
paul@16355 | 28 mkdir -p $fs/usr |
paul@16355 | 29 cp -a $install/usr/bin $fs/usr |
paul@16355 | 30 } |
paul@16355 | 31 |