wok-next diff ranger/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | b0d5e94d5132 |
children |
line diff
1.1 --- a/ranger/receipt Tue Jul 26 19:09:36 2016 +0100 1.2 +++ b/ranger/receipt Thu Jun 25 10:33:28 2020 +0100 1.3 @@ -1,29 +1,26 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="ranger" 1.8 VERSION="1.7.2" 1.9 CATEGORY="utilities" 1.10 -SHORT_DESC="File manager." 1.11 +SHORT_DESC="File manager" 1.12 MAINTAINER="paul@slitaz.org" 1.13 LICENSE="GPL3" 1.14 +WEB_SITE="http://nongnu.org/ranger/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://nongnu.org/ranger/" 1.18 WGET_URL="http://nongnu.org/ranger/$PACKAGE-stable.tar.gz" 1.19 -TAGS="file-manager" 1.20 1.21 -DEPENDS="python" 1.22 -BUILD_DEPENDS="python python-dev" 1.23 +BUILD_DEPENDS="python" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - python setup.py install --root=$DESTDIR 1.29 +compile_rules() { 1.30 + python -B setup.py install --root=$install || return 1 1.31 + 1.32 + find $install -type f -exec chmod g-w '{}' \; 1.33 } 1.34 1.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 -genpkg_rules() 1.37 -{ 1.38 - cp -a $install/usr $fs 1.39 - # remove stuff 1.40 - rm -rf $fs/usr/share/man 1.41 +genpkg_rules() { 1.42 + copy @std 1.43 + DEPENDS="python" 1.44 + TAGS="file-manager" 1.45 }