wok annotate wordwarvi/receipt @ rev 25805
created recipe for xfce4-weather-plugin
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 15:24:31 2024 +0100 (12 days ago) |
parents | ac8ca9758df1 |
children |
rev | line source |
---|---|
paul@2103 | 1 # SliTaz package receipt. |
paul@2103 | 2 |
paul@2103 | 3 PACKAGE="wordwarvi" |
Hans-G?nter@25415 | 4 VERSION="1.0.4" |
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@25415 | 15 DEPENDS="expat gtk+ libdb libvorbis libxml2 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@25415 | 19 BUILD_DEPENDS="gtk+-dev libgio-dev libogg-dev libvorbis-dev libxml2-dev |
Hans-G?nter@25415 | 20 pixman-dev 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@25415 | 33 make install DESTDIR=$DESTDIR |
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 } |