wok-6.x annotate ranger/receipt @ rev 11564
Add ranger form wok-undigest
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 25 15:19:22 2011 +0100 (2011-12-25) |
parents | |
children | ff8874b0d0d4 |
rev | line source |
---|---|
pascal@11564 | 1 # SliTaz package receipt. |
pascal@11564 | 2 |
pascal@11564 | 3 PACKAGE="ranger" |
pascal@11564 | 4 VERSION="1.5.2" |
pascal@11564 | 5 CATEGORY="utilities" |
pascal@11564 | 6 SHORT_DESC="File manager." |
pascal@11564 | 7 MAINTAINER="paul@slitaz.org" |
pascal@11564 | 8 DEPENDS="python" |
pascal@11564 | 9 BUILD_DEPENDS="python python-dev" |
pascal@11564 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11564 | 11 WEB_SITE="http://nongnu.org/ranger/" |
pascal@11564 | 12 WGET_URL="http://nongnu.org/ranger/$PACKAGE-stable.tar.gz" |
pascal@11564 | 13 |
pascal@11564 | 14 # Rules to configure and make the package. |
pascal@11564 | 15 compile_rules() |
pascal@11564 | 16 { |
pascal@11564 | 17 cd $src |
pascal@11564 | 18 python setup.py build |
pascal@11564 | 19 python setup.py install --root=$PWD/_pkg |
pascal@11564 | 20 } |
pascal@11564 | 21 |
pascal@11564 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11564 | 23 genpkg_rules() |
pascal@11564 | 24 { |
pascal@11564 | 25 cp -a $_pkg/usr $fs |
pascal@11564 | 26 # remove man stuff |
pascal@11564 | 27 rm -rf $fs/usr/share |
pascal@11564 | 28 } |
pascal@11564 | 29 |