wok view hatari/receipt @ rev 25760
created recipes for thunar-archive-plugin-lang and thunar-volman-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sun Sep 01 15:08:01 2024 +0100 (2 months ago) |
parents | f2b4a9eb8bdd |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="hatari"
4 VERSION="2.3.1"
5 CATEGORY="misc"
6 SHORT_DESC="An Atari ST/STE/TT/Falcon emulator."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/hatari/hatari"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/hatari/hatari/archive/refs/tags/v$VERSION.tar.gz"
14 DEPENDS="libdb libpng libsdl2 portaudio py3k readline zlib"
15 BUILD_DEPENDS="cmake libpng-dev libsdl2-dev portaudio-dev py3k-dev
16 readline-dev udev-dev xorg-dev zlib-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LDFLAGS="$LDFLAGS -ltinfo"
30 ./configure --prefix=/usr &&
31 make &&
33 sed -i "s|\t/usr|\t$DESTDIR/usr|" share/cmake_install.cmake
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 }