wok-6.x view trash-cli/receipt @ rev 17146

libmrss: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 10 13:04:01 2014 +0200 (2014-09-10)
parents
children cc6bbcf323fa
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="https://github.com/andreafrancia/trash-cli"
10 WGET_URL="git|git://github.com/andreafrancia/trash-cli"
12 DEPENDS="python"
13 BUILD_DEPENDS="git bzip2 python-dev setuptools"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
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 }