wok-next annotate prboom/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | c0521c689857 |
children | 5669e8b3be70 |
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@20502 | 14 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mesa-dev glu \ |
al@20502 | 15 libpng16-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@21020 | 40 DEPENDS="libsdl libsdl-mixer libsdl-net libpng16 mesa glu freedoom" |
al@21020 | 41 SUGGESTED="nvidia" |
mallory@2693 | 42 } |