wok-next annotate gens-gs/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents c0521c689857
children d5aab818505e
rev   line source
al@20476 1 # SliTaz package receipt v2.
slaxemulator@9595 2
slaxemulator@9595 3 PACKAGE="gens-gs"
slaxemulator@9595 4 VERSION="2.15.5_gs_r7"
al@20476 5 _VERSION=gs-r7
slaxemulator@9595 6 CATEGORY="games"
al@20476 7 SHORT_DESC="An emulator for Sega Genesis, Sega CD and 32X"
slaxemulator@9595 8 MAINTAINER="slaxemulator@gmail.com"
pascal@15215 9 LICENSE="GPL2"
al@20476 10 WEB_SITE="http://info.sonicretro.org/Gens/GS"
al@20476 11 HOST_ARCH="i486" # cite: configure: error: 64-bit is currently not supported.
al@20476 12
slaxemulator@9595 13 TARBALL="Gens-${_VERSION}.tar.gz"
slaxemulator@9595 14 WGET_URL="http://segaretro.org/images/6/6d/$TARBALL"
slaxemulator@9595 15
al@21017 16 BUILD_DEPENDS="gtk2-dev libsdl libsdl-dev nasm autoconf automake"
slaxemulator@10334 17
al@20476 18 compile_rules() {
slaxemulator@9595 19 chmod +x install-sh
slaxemulator@10334 20 ./configure $CONFIGURE_ARGS
al@20476 21 find -name "Makefile" | xargs sed -i 's|-DGTK_DISABLE_DEPRECATED||g'
slaxemulator@9595 22 make -j1 && make -j1 DESTDIR=$DESTDIR install
slaxemulator@9595 23 }
slaxemulator@9595 24
al@20476 25 genpkg_rules() {
al@20476 26 copy @std
al@21017 27 DEPENDS="gtk2 libsdl glu"
al@20476 28 TAGS="emulator sega"
slaxemulator@9595 29 }