wok-6.x annotate trash-cli/receipt @ rev 23623
Update some bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 14 16:56:01 2020 +0000 (2020-04-14) |
parents | 5d50a02468c7 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
paul@16741 | 1 # SliTaz package receipt. |
paul@16741 | 2 |
paul@16741 | 3 PACKAGE="trash-cli" |
Hans-G?nter@22050 | 4 VERSION="0.17.1.14" |
paul@16741 | 5 CATEGORY="utilities" |
paul@16741 | 6 SHORT_DESC="Command line interface to the freedesktop.org trashcan." |
paul@16741 | 7 MAINTAINER="paul@slitaz.org" |
pascal@17216 | 8 LICENSE="GPL2" |
paul@16741 | 9 WEB_SITE="https://github.com/andreafrancia/trash-cli" |
Hans-G?nter@22050 | 10 |
Hans-G?nter@22050 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22050 | 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
paul@16741 | 13 |
paul@16741 | 14 DEPENDS="python" |
Hans-G?nter@22050 | 15 BUILD_DEPENDS="python-dev python-setuptools" |
paul@16741 | 16 |
paul@16741 | 17 # Rules to configure and make the package. |
paul@16741 | 18 compile_rules() |
paul@16741 | 19 { |
paul@16741 | 20 python setup.py build |
paul@16741 | 21 python setup.py install --root=$DESTDIR |
paul@16741 | 22 } |
paul@16741 | 23 |
paul@16741 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@16741 | 25 genpkg_rules() |
paul@16741 | 26 { |
paul@16741 | 27 mkdir $fs/usr |
Hans-G?nter@22050 | 28 |
paul@16741 | 29 cp -a $install/usr/bin $fs/usr |
paul@16741 | 30 cp -a $install/usr/lib $fs/usr |
paul@16741 | 31 } |