wok annotate stella/receipt @ rev 24330
updated atftp and atftpd (0.7.2 -> 0.7.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 27 15:48:06 2022 +0100 (2022-01-27) |
parents | d8c28080cd55 |
children | 917dfc4833a1 |
rev | line source |
---|---|
slaxemulator@7268 | 1 # SliTaz package receipt. |
slaxemulator@7268 | 2 |
slaxemulator@7268 | 3 PACKAGE="stella" |
Hans-G?nter@24293 | 4 VERSION="6.6" |
slaxemulator@7268 | 5 CATEGORY="games" |
Hans-G?nter@24293 | 6 TAGS="emulator atari" |
slaxemulator@7268 | 7 SHORT_DESC="A multi-platform Atari 2600 VCS emulator." |
slaxemulator@7268 | 8 MAINTAINER="slaxemulator@gmail.com" |
pascal@15582 | 9 LICENSE="GPL2" |
Hans-G?nter@23670 | 10 WEB_SITE="https://stella-emu.github.io/" |
Hans-G?nter@23670 | 11 |
Hans-G?nter@23670 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23670 | 13 WGET_URL="https://github.com/stella-emu/$PACKAGE/archive/$VERSION.tar.gz" |
slaxemulator@7268 | 14 |
Hans-G?nter@23670 | 15 DEPENDS="gcc83-lib-base libpng libsdl2" |
Hans-G?nter@23670 | 16 BUILD_DEPENDS="gcc83 libpng-dev libsdl2-dev zlib-dev" |
pascal@15582 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
slaxemulator@7268 | 24 # Rules to configure and make the package. |
slaxemulator@7268 | 25 compile_rules() |
slaxemulator@7268 | 26 { |
Hans-G?nter@23672 | 27 export CC=gcc-83 |
Hans-G?nter@23672 | 28 export CXX=g++-83 |
Hans-G?nter@23672 | 29 |
Hans-G?nter@23670 | 30 ./configure \ |
slaxemulator@7268 | 31 --prefix=/usr && |
Hans-G?nter@24293 | 32 make && |
Hans-G?nter@23670 | 33 make DESTDIR=$DESTDIR install |
slaxemulator@7268 | 34 } |
slaxemulator@7268 | 35 |
slaxemulator@7268 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7268 | 37 genpkg_rules() |
slaxemulator@7268 | 38 { |
Hans-G?nter@23670 | 39 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@23670 | 40 mkdir -p $fs/usr/share/applications |
Hans-G?nter@23670 | 41 |
Hans-G?nter@23670 | 42 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23670 | 43 cp -a $install/usr/share/icons/hicolor/48x48/apps/stella.png \ |
Hans-G?nter@23670 | 44 $fs/usr/share/pixmaps |
Hans-G?nter@23670 | 45 sed -i 's|Icon=stella.png|Icon=stella|' \ |
Hans-G?nter@23670 | 46 $install/usr/share/applications/stella.desktop |
slaxemulator@7268 | 47 } |