wok-current annotate assaultcube/receipt @ rev 24906
updated minidlna (1.2.1 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 14:37:52 2022 +0100 (2022-04-09) |
parents | a78610b2eb47 |
children |
rev | line source |
---|---|
slaxemulator@6588 | 1 # SliTaz package receipt. |
slaxemulator@6588 | 2 |
slaxemulator@6588 | 3 PACKAGE="assaultcube" |
slaxemulator@7316 | 4 VERSION="1.1.0.4" |
slaxemulator@6588 | 5 CATEGORY="games" |
slaxemulator@6588 | 6 SHORT_DESC="A realistic team oriented multiplayer FPS based on the cube engine." |
slaxemulator@6588 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15201 | 8 LICENSE="zlib/libpng" |
slaxemulator@6588 | 9 SOURCE="AssaultCube" |
slaxemulator@7316 | 10 TARBALL="${SOURCE}_v${VERSION}_source.tar.bz2" |
slaxemulator@8591 | 11 SOURCE="AssaultCube-Source" |
pascal@20669 | 12 WEB_SITE="https://assault.cubers.net/" |
slaxemulator@6588 | 13 WGET_URL="$SF_MIRROR/actiongame/$TARBALL" |
slaxemulator@6588 | 14 |
pascal@13793 | 15 DEPENDS="openal libsdl-image libsdl-mixer mesa libglu-mesa assaultcube-data" |
pascal@13793 | 16 BUILD_DEPENDS="openal-dev libsdl-image-dev libsdl-mixer-dev mesa-dev \ |
pascal@20585 | 17 libglu-mesa-dev file" |
pascal@13793 | 18 |
pascal@24340 | 19 # What is the latest version available today? |
pascal@24340 | 20 current_version() |
pascal@24340 | 21 { |
pascal@24340 | 22 wget -O - https://github.com/assaultcube/AC/releases 2>/dev/null | \ |
pascal@24340 | 23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24340 | 24 } |
pascal@24340 | 25 |
slaxemulator@6588 | 26 # Rules to configure and make the package. |
slaxemulator@6588 | 27 compile_rules() |
slaxemulator@8591 | 28 { |
slaxemulator@6588 | 29 cd $src/source/src |
pascal@13819 | 30 sed -i 's/lvorbisfile/& -lX11/' Makefile |
slaxemulator@6588 | 31 make |
pankso@8779 | 32 mkdir -p $DESTDIR/usr/bin |
slaxemulator@8606 | 33 cp -a ac_client $DESTDIR/usr/bin |
slaxemulator@8606 | 34 cp -a ac_server $DESTDIR/usr/bin |
slaxemulator@8591 | 35 |
slaxemulator@6588 | 36 } |
slaxemulator@6588 | 37 |
slaxemulator@6588 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6588 | 39 genpkg_rules() |
slaxemulator@6588 | 40 { |
pankso@8779 | 41 mkdir -p $fs/usr/bin |
pascal@13793 | 42 cp -a $install/usr/bin/ac_client $fs/usr/bin |
pascal@13793 | 43 cp -a $install/usr/bin/ac_server $fs/usr/bin |
slaxemulator@8591 | 44 cp -a $stuff/assaultcube $fs/usr/bin |
slaxemulator@8591 | 45 cp -a $stuff/assaultcube-server $fs/usr/bin |
slaxemulator@6588 | 46 chmod +x $fs/usr/bin/assaultcube |
slaxemulator@6588 | 47 chmod +x $fs/usr/bin/assaultcube-server |
slaxemulator@6588 | 48 } |
slaxemulator@6588 | 49 |