wok-6.x annotate cherrytree/receipt @ rev 19692
ntfs-3g: update genpkg-rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 13 12:26:10 2017 +0100 (2017-02-13) |
parents | 223b265f40fd |
children | dc0a8add9e65 |
rev | line source |
---|---|
al@13721 | 1 # SliTaz package receipt. |
al@13721 | 2 |
al@13721 | 3 PACKAGE="cherrytree" |
pascal@13726 | 4 VERSION="0.28.5" |
al@13721 | 5 CATEGORY="office" |
al@13721 | 6 SHORT_DESC="A hierarchical note taking application" |
al@13721 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15202 | 8 LICENSE="GPL2" |
al@13721 | 9 WEB_SITE="http://www.giuspen.com/cherrytree/" |
al@13721 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@13721 | 11 WGET_URL="http://www.giuspen.com/software/$TARBALL" |
al@13721 | 12 |
al@13721 | 13 DEPENDS="python pygtk pygtksourceview p7zip-full" |
al@13721 | 14 BUILD_DEPENDS="python desktop-file-utils pygtksourceview-dev" |
al@13721 | 15 |
al@13721 | 16 # Rules to configure and make the package. |
al@13721 | 17 compile_rules() |
al@13721 | 18 { |
al@13721 | 19 python setup.py install --prefix=$install/usr -f |
al@13721 | 20 } |
al@13721 | 21 |
al@13721 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13721 | 23 genpkg_rules() |
al@13721 | 24 { |
al@17261 | 25 mkdir -p $fs/usr/share |
al@17261 | 26 cp -a $install/usr/bin $fs/usr |
al@17261 | 27 cp -a $install/usr/lib $fs/usr |
al@17261 | 28 cp -a $install/usr/share/applications $fs/usr/share |
al@17261 | 29 cp -a $install/usr/share/cherrytree $fs/usr/share |
al@17261 | 30 cp -a $install/usr/share/icons $fs/usr/share |
al@13721 | 31 } |