wok annotate ranger/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 5d53e8ccbc8d
children 2783d48f798e
rev   line source
pascal@11564 1 # SliTaz package receipt.
pascal@11564 2
pascal@11564 3 PACKAGE="ranger"
paul@16113 4 VERSION="1.6.1"
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"
al@17501 12 TAGS="file-manager"
pascal@11564 13
pascal@14999 14 DEPENDS="python"
pascal@14999 15 BUILD_DEPENDS="python python-dev"
pascal@14999 16
pascal@11564 17 # Rules to configure and make the package.
pascal@11564 18 compile_rules()
pascal@11564 19 {
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@16113 28 # remove stuff
paul@16113 29 rm -rf $fs/usr/share/man
pascal@11564 30 }