wok-current view pyroom/receipt @ rev 25383
updated units (2.19 -> 2.21)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 17:22:12 2022 +0100 (2022-07-30) |
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 }