Receipt for package "chocolate-doom"
# SliTaz package receipt. PACKAGE="chocolate-doom" VERSION="3.0.1" CATEGORY="games" SHORT_DESC="Doom source port as close as possible to vanilla Doom." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://www.chocolate-doom.org/wiki/index.php/Chocolate_Doom" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://www.chocolate-doom.org/downloads/$VERSION/$TARBALL" DEPENDS="libsamplerate libsdl2 libsdl2-mixer libsdl2-net" BUILD_DEPENDS="libsdl2-dev libsdl2-mixer-dev libsdl2-net-dev" # What is the latest version available today? current_version() { wget -O - https://github.com/chocolate-doom/chocolate-doom/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm" ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make $MAKEFLAGS cook_pick_manpages man/*.5 man/*.6 } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin mkdir -p $fs/usr/share/games/doom cp $src/src/chocolate-doom $fs/usr/bin }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)