Receipt for package "warzone2100"
# SliTaz package receipt. PACKAGE="warzone2100" VERSION="2.3.9" CATEGORY="games" SHORT_DESC="3D realtime strategy game on a future Earth" MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://wz2100.net/" WGET_URL="$SF_MIRROR/warzone2100/releases/$VERSION/$TARBALL" DEPENDS="libsdl-net mesa openal jpeg libpng libvorbis libtheora libmad physfs \ quesoglc popt ttf-dejavu ttf-dejavu-extra" BUILD_DEPENDS="libsdl-dev libsdl-net-dev mesa-dev openal openal-dev jpeg-dev \ libpng-dev libogg-dev libvorbis-dev libtheora-dev libmad-dev physfs-dev \ quesoglc-dev popt-dev gawk bison flex zip unzip pkg-config zlib-dev" # What is the latest version available today? current_version() { wget -O - https://github.com/Warzone2100/warzone2100/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lvorbis" ./configure \ --disable-motif \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/pixmaps cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/applications $fs/usr/share cp -a $install/usr/share/icons/warzone2100.png $fs/usr/share/pixmaps cp -a $install/usr/share/warzone2100 $fs/usr/share }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)