wok diff warmux/receipt @ rev 21665

mc: configure --without-subshell
author maniac
date Sat Jun 01 13:26:35 2019 +0300 (2019-06-01)
parents 2a21689b0af7
children 5ee9869f5c7b
line diff
     1.1 --- a/warmux/receipt	Thu Oct 03 09:52:57 2013 +0000
     1.2 +++ b/warmux/receipt	Sat Jun 01 13:26:35 2019 +0300
     1.3 @@ -3,17 +3,17 @@
     1.4  PACKAGE="warmux"
     1.5  VERSION="11.04.1"
     1.6  CATEGORY="games"
     1.7 -SHORT_DESC="Warmux game."
     1.8 +SHORT_DESC="Warmux game"
     1.9  MAINTAINER="slaxemulator@gmail.com"
    1.10  LICENSE="GPL2"
    1.11 -SUGGESTED="warmux-music"
    1.12 +WEB_SITE="http://www.wormux.org/"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 -WEB_SITE="http://www.wormux.org/"
    1.15  WGET_URL="http://download.gna.org/warmux/$TARBALL"
    1.16  PROVIDE="wormux"
    1.17 +SUGGESTED="warmux-music"
    1.18  
    1.19  DEPENDS="libsdl-gfx libsdl-image libsdl-mixer libsdl-net libsdl-ttf \
    1.20 -curl freetype libxml2 libxml++ gcc-lib-base gettext"
    1.21 +curl freetype libxml2 libxml++ gcc-lib-base gettext-base"
    1.22  BUILD_DEPENDS="libsdl-dev libsdl-gfx-dev libsdl-image-dev libsdl-mixer-dev \
    1.23  libsdl-net-dev libsdl-ttf-dev curl-dev freetype-dev libxml2-dev libxml++-dev \
    1.24  pkg-config"
    1.25 @@ -21,14 +21,11 @@
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30 -	#sed -i s:"INSTALL = /usr/bin/install -c":"INSTALL = /usr/bin/install -c -d":\
    1.31 -	#	Makefile
    1.32 -	sed -i 's/test -z "$(pkgdatadir)"/test -d "$(pkgdatadir)"/'\
    1.33 -		 data/Makefile.in
    1.34 +	sed -i 's/test -z "$(pkgdatadir)"/test -d "$(pkgdatadir)"/' data/Makefile.in
    1.35  	sed -i 's|if USE_X11|if SKIP_USE_X11|' src/tool/copynpaste.cpp
    1.36  	sed -i "s|test -d \"\\\$(pkgdatadir|test -d \"\\\$(DESTDIR)\\\$(pkgdatadir|" data/Makefile*
    1.37  	mkdir -p $DESTDIR/usr/share/warmux
    1.38 +
    1.39  	./configure \
    1.40  		--bindir=/usr/games \
    1.41  		--with-font-path=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf \
    1.42 @@ -44,9 +41,9 @@
    1.43  	cp -a $install/usr/games $fs/usr
    1.44  	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.45  	cp -a $install/usr/share/warmux $fs/usr/share
    1.46 +
    1.47  	# Remove unecessary files
    1.48  	rm -rf $fs/usr/share/warmux/font
    1.49  	rm -rf $fs/usr/share/warmux/music
    1.50  	#rm -rf $fs/usr/share/warmux/sound
    1.51  }
    1.52 -