# SliTaz package receipt. PACKAGE="prboom" VERSION="2.5.0" CATEGORY="games" SHORT_DESC="PrBoom is the culmination of years of work by various people and projects on the Doom source code." MAINTAINER="mallory@sweetpeople.org" DEPENDS="libsdl libsdl-mixer libsdl-net libpng mesa libglu-mesa freedoom" SUGGESTED="nvidia" BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mesa-dev libglu-mesa" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://prboom.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --disable-i386-asm \ $CONFIGURE_ARGS && make $MAKEFLAGS && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { echo "Creating package tree" mkdir -p $fs/usr/games \ $fs/usr/share/games \ $fs/usr/share/applications \ $fs/usr/share/pixmaps echo "Copying package files" cp -a $_pkg/usr/games $fs/usr cp -a $_pkg/usr/share/games $fs/usr/share }