wok view pyroom/receipt @ rev 25364
cpige: apply gibor patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 14:38:50 2022 +0000 (2022-07-28) |
parents | a78610b2eb47 |
children | f40d97a52c42 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pyroom"
4 VERSION="0.4.1"
5 CATEGORY="office"
6 SHORT_DESC="Full screen editor."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://pyroom.org/"
11 WGET_URL="https://launchpad.net/pyroom/${VERSION%.*}/$VERSION/+download/$TARBALL"
13 DEPENDS="python pygtk python-xdg libffi"
14 BUILD_DEPENDS="python python-dev gettext"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/PyRoom [0-9]/!d;s|.*Room ||;s| released.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py build &&
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs
34 cp -a $install/usr $fs
35 }