wok-6.x view lutris/receipt @ rev 24727
cookutils: add repo-cooking (used by tank)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 15 10:59:31 2022 +0000 (2022-03-15) |
parents | 8f4d7f7edd9e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lutris"
4 VERSION="0.5.4"
5 CATEGORY="games"
6 SHORT_DESC="An open gaming platform for Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://lutris.net/"
11 TARBALL="${PACKAGE}_$VERSION.tar.xz"
12 WGET_URL="${WEB_SITE}releases/$TARBALL"
14 SUGGESTED="wine scummvm gens-gs mupen64plus dosbox pcsxr-svn"
15 # uae mednafen sdlmame snes9x-gtk steam atari800 dolphin-emu frotz hatari
16 # jzintv mednafen nulldc o2em openmsx osmose
17 DEPENDS="py3k python-xdg pygobject python-pyyaml libsoup"
18 BUILD_DEPENDS="py3k python-setuptools python-xdg"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE.[0-9]/!d;/tar/!d;s|.*$PACKAGE.\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 python3 setup.py install --root=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs
37 }