# SliTaz package receipt. PACKAGE="wordwarvi" VERSION="1.0.4" CATEGORY="games" TAGS="shooting" SHORT_DESC="Retro shoot'em up game." MAINTAINER="paul@slitaz.org" LICENSE="GPL2" WEB_SITE="https://smcameron.github.io/wordwarvi/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/smcameron/$PACKAGE/archive/v$VERSION/$TARBALL" DEPENDS="expat gtk+ libdb libvorbis libxml2 portaudio xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage" BUILD_DEPENDS="gtk+-dev libgio-dev libogg-dev libvorbis-dev libxml2-dev pixman-dev portaudio portaudio-dev xorg-kbproto xorg-libXrender-dev xorg-renderproto xorg-xproto " current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin mkdir -p $fs/usr/share/wordwarvi cp -a $install/usr/games/wordwarvi $fs/usr/bin cp -a $install/usr/share/wordwarvi/* $fs/usr/share/wordwarvi cp -a stuff/* $fs }