wok-6.x view fs-uae/receipt @ rev 24439
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 13 18:01:32 2022 +0000 (2022-02-13) |
parents | a4a9b130531d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fs-uae"
4 VERSION="3.0.0"
5 CATEGORY="games"
6 SHORT_DESC="An Amiga emulator based on UAE/WinUAE with a focus on emulating games"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://fs-uae.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://fs-uae.net/stable/$VERSION/$PACKAGE-$VERSION.tar.gz"
14 BUILD_DEPENDS="gettext zip libmpeg2-dev openal-dev libpng-dev libsdl2-dev \
15 zlib-dev xorg-libX11-dev xorg-libXi-dev libatomic"
16 DEPENDS="glib libdrm libmpeg2 libpng libsdl2 libxcb mesa openal pcre \
17 xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext \
18 xorg-libXfixes xorg-libXxf86vm zlib"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/FS-UAE [0-9]/!d;s|.*FS-UAE ||;s| is.*||;q'
25 }
27 compile_rules() {
28 ./configure \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 mkdir -p $fs
36 cp -a $install/* $fs
37 }