wok annotate pyroom/receipt @ rev 25430

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