wok-next view trash-cli/receipt @ rev 20444

python-pip and setuptools are parts of python package.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Feb 26 04:46:49 2018 +0200 (2018-02-26)
parents 7390f8de9846
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="trash-cli"
4 VERSION="0.12.9.14"
5 CATEGORY="utilities"
6 SHORT_DESC="Command line interface to the freedesktop.org trashcan."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://github.com/andreafrancia/trash-cli"
11 WGET_URL="git|git://github.com/andreafrancia/trash-cli"
13 DEPENDS="python"
14 BUILD_DEPENDS="git bzip2 python-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 python setup.py build
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir $fs/usr
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }