wok rev 16181

ARM: add mc :-) Thanks for the update Alexandet
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 30 17:58:33 2014 +0200 (2014-03-30)
parents 96ae8ed67efc
children 4a3989d30c80
files mc/receipt
line diff
     1.1 --- a/mc/receipt	Sun Mar 30 17:46:41 2014 +0200
     1.2 +++ b/mc/receipt	Sun Mar 30 17:58:33 2014 +0200
     1.3 @@ -9,36 +9,31 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
     1.5  WEB_SITE="http://www.midnight-commander.org/"
     1.6  WGET_URL="http://www.midnight-commander.org/downloads/$TARBALL"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9 +SUGGESTED="gpm"
    1.10  DEPENDS="ncursesw glib e2fsprogs"
    1.11 -SUGGESTED="gpm glib"
    1.12 -BUILD_DEPENDS="pkg-config gpm-dev glib-dev ncurses-dev"
    1.13 +BUILD_DEPENDS="gpm-dev glib-dev ncursesw-dev"
    1.14  
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {
    1.18 -	cd $src
    1.19 -	./configure --prefix=/usr \
    1.20 -	--with-gpm-mouse \
    1.21 -	--with-screen=ncurses \
    1.22 -	--infodir=/usr/share/info \
    1.23 -	--libexecdir=/usr/lib \
    1.24 -	--sysconfdir=/etc \
    1.25 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.26 -	make &&
    1.27 -	make DESTDIR=$DESTDIR install
    1.28 +	./configure \
    1.29 +		--prefix=/usr \
    1.30 +		--with-gpm-mouse \
    1.31 +		--with-screen=ncurses \
    1.32 +		--libexecdir=/usr/lib \
    1.33 +		--sysconfdir=/etc \
    1.34 +		$CONFIGURE_ARGS &&
    1.35 +	make && make install
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	mkdir -p $fs/usr/share/locale $fs/usr/share/applications
    1.42 -	
    1.43 +	mkdir -p $fs/usr/share
    1.44  	cp -a $install/etc $fs/
    1.45  	cp -a $install/usr/bin $fs/usr
    1.46  	cp -a $install/usr/lib $fs/usr
    1.47  	cp -a $install/usr/share/mc $fs/usr/share
    1.48 -	cp -a $install/usr/share/locale/fr $fs/usr/share/locale
    1.49 -	cp $stuff/mc.desktop $fs/usr/share/applications
    1.50  }
    1.51 -