wok annotate wordwarvi/receipt @ rev 24423
modified recipe for claws-mail-rssyl
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 16:50:00 2022 +0100 (2022-02-11) |
parents | 5ea0ce1cecc0 |
children | 6ed15a9904a6 |
rev | line source |
---|---|
paul@2103 | 1 # SliTaz package receipt. |
paul@2103 | 2 |
paul@2103 | 3 PACKAGE="wordwarvi" |
Hans-G?nter@22139 | 4 VERSION="1.0.2" |
paul@2103 | 5 CATEGORY="games" |
Hans-G?nter@22139 | 6 TAGS="shooting" |
paul@2103 | 7 SHORT_DESC="Retro shoot'em up game." |
paul@2103 | 8 MAINTAINER="paul@slitaz.org" |
pascal@15002 | 9 LICENSE="GPL2" |
Hans-G?nter@22139 | 10 WEB_SITE="https://smcameron.github.io/wordwarvi/" |
Hans-G?nter@22139 | 11 |
pascal@15002 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22139 | 13 WGET_URL="https://github.com/smcameron/$PACKAGE/archive/v$VERSION/$TARBALL" |
pascal@15002 | 14 |
Hans-G?nter@22139 | 15 DEPENDS="expat gtk+ libvorbis portaudio xorg-libX11 xorg-libXau |
pascal@2434 | 16 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext |
pascal@2527 | 17 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender |
pascal@2527 | 18 xorg-libXdamage" |
Hans-G?nter@22139 | 19 BUILD_DEPENDS="gtk+-dev libgio-dev libogg-dev libvorbis-dev pixman-dev |
Hans-G?nter@22139 | 20 portaudio portaudio-dev xorg-kbproto xorg-libXrender-dev |
Hans-G?nter@22139 | 21 xorg-renderproto xorg-xproto " |
paul@2103 | 22 |
pascal@24055 | 23 current_version() |
pascal@24055 | 24 { |
pascal@24299 | 25 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 26 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 27 } |
pascal@24055 | 28 |
paul@2103 | 29 # Rules to configure and make the package. |
paul@2103 | 30 compile_rules() |
paul@2103 | 31 { |
Hans-G?nter@22139 | 32 make && |
Hans-G?nter@22139 | 33 make DESTDIR=$DESTDIR install |
paul@2103 | 34 } |
paul@2103 | 35 |
paul@2103 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2103 | 37 genpkg_rules() |
paul@2103 | 38 { |
Hans-G?nter@22140 | 39 mkdir -p $fs/usr/bin |
paul@2103 | 40 mkdir -p $fs/usr/share/wordwarvi |
Hans-G?nter@22139 | 41 |
Hans-G?nter@22141 | 42 cp -a $install/usr/games/wordwarvi $fs/usr/bin |
Hans-G?nter@22139 | 43 cp -a $install/usr/share/wordwarvi/* $fs/usr/share/wordwarvi |
Hans-G?nter@22139 | 44 cp -a stuff/* $fs |
paul@2103 | 45 } |