wok annotate ranger/receipt @ rev 13114
Up grub2 (2.00)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 28 15:26:44 2012 +0200 (2012-06-28) |
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 |