wok-6.x view cherrytree/receipt @ rev 24666
created recipes for double-conversion and double-conversion-dev
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 15:40:49 2022 +0100 (2022-03-11) |
parents | a4aa1fff8555 |
children | 1be16cc1cd50 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cherrytree"
4 VERSION="0.38.10"
5 CATEGORY="office"
6 SHORT_DESC="A hierarchical note taking application."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.giuspen.com/cherrytree/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://github.com/giuspen/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="p7zip-full pygtk pygtksourceview python"
15 BUILD_DEPENDS="desktop-file-utils pygtksourceview-dev python"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py install --prefix=$install/usr -f
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 cp -a $install/usr/share/applications $fs/usr/share
37 cp -a $install/usr/share/cherrytree $fs/usr/share
38 cp -a $install/usr/share/icons $fs/usr/share
39 }