wok-next annotate prboom/receipt @ rev 21661

updated fonttosfnt (1.0.5 -> 1.1.0)
author Hans-G?nter Theisgen
date Sat Jun 27 13:41:53 2020 +0100 (2020-06-27)
parents 5669e8b3be70
children
rev   line source
mallory@2693 1 # SliTaz package receipt.
mallory@2693 2
mallory@2693 3 PACKAGE="prboom"
mallory@2693 4 VERSION="2.5.0"
mallory@2693 5 CATEGORY="games"
al@21020 6 SHORT_DESC="Culmination of years of work by various people and projects on the Doom source code"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://prboom.sourceforge.net/"
al@21020 10
mallory@2693 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
mallory@2693 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
mallory@2693 13
al@21087 14 BUILD_DEPENDS="sdl-dev sdl-mixer-dev sdl-net-dev mesa-dev glu \
al@21078 15 libpng-dev glu-dev"
pascal@13796 16
al@21020 17 compile_rules() {
pascal@20348 18 sed -i 's|png_error_ptr_||;s|png_infopp_||' src/SDL/i_sshot.c
al@21020 19
mallory@2693 20 ./configure \
mallory@2693 21 --prefix=/usr \
mallory@2693 22 --infodir=/usr/share/info \
mallory@2693 23 --mandir=/usr/share/man \
slaxemulator@9278 24 --disable-i386-asm \
mallory@2693 25 $CONFIGURE_ARGS &&
al@21020 26 make $MAKEFLAGS &&
al@21020 27 make DESTDIR=$install install
mallory@2693 28 }
mallory@2693 29
al@21020 30 genpkg_rules() {
mallory@2716 31 echo "Creating package tree"
mallory@2716 32 mkdir -p $fs/usr/games \
mallory@2716 33 $fs/usr/share/games \
mallory@2716 34 $fs/usr/share/applications \
mallory@2716 35 $fs/usr/share/pixmaps
mallory@2716 36
mallory@2716 37 echo "Copying package files"
pascal@13796 38 cp -a $install/usr/games $fs/usr
pascal@13796 39 cp -a $install/usr/share/games $fs/usr/share
al@21087 40 DEPENDS="sdl sdl-mixer sdl-net libpng mesa glu freedoom"
al@21020 41 SUGGESTED="nvidia"
mallory@2693 42 }