wok-6.x annotate ranger/receipt @ rev 15355
notecase: add CFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 30 20:23:31 2013 +0000 (2013-09-30) |
parents | ff8874b0d0d4 |
children | 70122e7eef9a |
rev | line source |
---|---|
pascal@11564 | 1 # SliTaz package receipt. |
pascal@11564 | 2 |
pascal@11564 | 3 PACKAGE="ranger" |
paul@13432 | 4 VERSION="1.5.5" |
pascal@11564 | 5 CATEGORY="utilities" |
pascal@11564 | 6 SHORT_DESC="File manager." |
pascal@11564 | 7 MAINTAINER="paul@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pascal@11564 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11564 | 10 WEB_SITE="http://nongnu.org/ranger/" |
pascal@11564 | 11 WGET_URL="http://nongnu.org/ranger/$PACKAGE-stable.tar.gz" |
pascal@11564 | 12 |
pascal@14999 | 13 DEPENDS="python" |
pascal@14999 | 14 BUILD_DEPENDS="python python-dev" |
pascal@14999 | 15 |
pascal@11564 | 16 # Rules to configure and make the package. |
pascal@11564 | 17 compile_rules() |
pascal@11564 | 18 { |
pascal@11564 | 19 cd $src |
pascal@11564 | 20 python setup.py build |
paul@13432 | 21 python setup.py install --root=$DESTDIR |
pascal@11564 | 22 } |
pascal@11564 | 23 |
pascal@11564 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11564 | 25 genpkg_rules() |
pascal@11564 | 26 { |
paul@13432 | 27 cp -a $install/usr $fs |
paul@13432 | 28 # remove share stuff |
pascal@11564 | 29 rm -rf $fs/usr/share |
pascal@11564 | 30 } |
pascal@11564 | 31 |