wok-6.x view zim/receipt @ rev 18086
Rebuild Python packages to remove "*.pyc" files from packages files.lists (part last)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 23 16:17:14 2015 +0300 (2015-05-23) |
parents | 533c0cab6960 |
children | f7ec9f320ebe |
line source
1 # SliTaz package receipt.
3 PACKAGE="zim"
4 VERSION="0.56"
5 CATEGORY="utilities"
6 SHORT_DESC="A desktop wiki."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://zim-wiki.org/"
11 WGET_URL="http://zim-wiki.org/downloads/$TARBALL"
12 TAGS="wiki notebook"
14 DEPENDS="python pygtk pygobject python-simplejson python-xdg \
15 desktop-file-utils shared-mime-info xdg-utils"
16 BUILD_DEPENDS="$DEPENDS pycairo-dev pygobject-dev pygtk-dev python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./setup.py install --root=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 cp -a $install/usr/share/zim $fs/usr/share
31 }