wok-current annotate stella/receipt @ rev 23840
Up libsdl2-image (2.0.5), radare2 (4.4.0), screen (4.8.0), sleuthkit (4.9.0), thunderbird-bin (68.9.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 04 16:22:12 2020 +0000 (2020-06-04) |
parents | e7dc618ef7f2 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
slaxemulator@7268 | 1 # SliTaz package receipt. |
slaxemulator@7268 | 2 |
slaxemulator@7268 | 3 PACKAGE="stella" |
Hans-G?nter@23670 | 4 VERSION="6.1.1" |
slaxemulator@7268 | 5 CATEGORY="games" |
slaxemulator@7268 | 6 SHORT_DESC="A multi-platform Atari 2600 VCS emulator." |
slaxemulator@7268 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15582 | 8 LICENSE="GPL2" |
Hans-G?nter@23670 | 9 WEB_SITE="https://stella-emu.github.io/" |
Hans-G?nter@23670 | 10 |
Hans-G?nter@23670 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23670 | 12 WGET_URL="https://github.com/stella-emu/$PACKAGE/archive/$VERSION.tar.gz" |
pascal@13041 | 13 TAGS="emulator atari" |
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 |
slaxemulator@7268 | 18 # Rules to configure and make the package. |
slaxemulator@7268 | 19 compile_rules() |
slaxemulator@7268 | 20 { |
Hans-G?nter@23672 | 21 export CC=gcc-83 |
Hans-G?nter@23672 | 22 export CXX=g++-83 |
Hans-G?nter@23672 | 23 |
Hans-G?nter@23670 | 24 ./configure \ |
slaxemulator@7268 | 25 --prefix=/usr && |
Hans-G?nter@23670 | 26 make && |
Hans-G?nter@23670 | 27 make DESTDIR=$DESTDIR install |
slaxemulator@7268 | 28 } |
slaxemulator@7268 | 29 |
slaxemulator@7268 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7268 | 31 genpkg_rules() |
slaxemulator@7268 | 32 { |
Hans-G?nter@23670 | 33 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@23670 | 34 mkdir -p $fs/usr/share/applications |
Hans-G?nter@23670 | 35 |
Hans-G?nter@23670 | 36 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23670 | 37 cp -a $install/usr/share/icons/hicolor/48x48/apps/stella.png \ |
Hans-G?nter@23670 | 38 $fs/usr/share/pixmaps |
Hans-G?nter@23670 | 39 sed -i 's|Icon=stella.png|Icon=stella|' \ |
Hans-G?nter@23670 | 40 $install/usr/share/applications/stella.desktop |
slaxemulator@7268 | 41 } |