wok annotate trash-cli/receipt @ rev 20267
Up ndiswrapper-driver (1.61), dummynet (20150115)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 15 23:03:13 2018 +0100 (2018-03-15) |
parents | cc6bbcf323fa |
children | 5d50a02468c7 |
rev | line source |
---|---|
paul@16741 | 1 # SliTaz package receipt. |
paul@16741 | 2 |
paul@16741 | 3 PACKAGE="trash-cli" |
paul@16741 | 4 VERSION="0.12.9.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 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
paul@16741 | 10 WEB_SITE="https://github.com/andreafrancia/trash-cli" |
paul@16741 | 11 WGET_URL="git|git://github.com/andreafrancia/trash-cli" |
paul@16741 | 12 |
paul@16741 | 13 DEPENDS="python" |
paul@16741 | 14 BUILD_DEPENDS="git bzip2 python-dev setuptools" |
paul@16741 | 15 |
paul@16741 | 16 # Rules to configure and make the package. |
paul@16741 | 17 compile_rules() |
paul@16741 | 18 { |
paul@16741 | 19 python setup.py build |
paul@16741 | 20 python setup.py install --root=$DESTDIR |
paul@16741 | 21 } |
paul@16741 | 22 |
paul@16741 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@16741 | 24 genpkg_rules() |
paul@16741 | 25 { |
paul@16741 | 26 mkdir $fs/usr |
paul@16741 | 27 cp -a $install/usr/bin $fs/usr |
paul@16741 | 28 cp -a $install/usr/lib $fs/usr |
paul@16741 | 29 } |