wok rev 12705

Up: emelfm2 (0.8.1)
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 04 15:44:59 2012 +0200 (2012-05-04)
parents d90a0b7d2fe1
children a328abdf0a9c e1b6c1658142
files emelfm2/receipt
line diff
     1.1 --- a/emelfm2/receipt	Fri May 04 13:09:29 2012 +0300
     1.2 +++ b/emelfm2/receipt	Fri May 04 15:44:59 2012 +0200
     1.3 @@ -1,39 +1,39 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="emelfm2"
     1.7 -VERSION="0.7.2"
     1.8 +VERSION="0.8.1"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="GTK powerfull file manager."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -DEPENDS="gtk+ xorg-libXdamage"
    1.13 -BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-xproto libmagic-dev"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15  WEB_SITE="http://emelfm2.net/"
    1.16  WGET_URL="http://emelfm2.net/rel/$TARBALL"
    1.17  TAGS="file-manager"
    1.18  
    1.19 +DEPENDS="gtk+ xorg-libXdamage"
    1.20 +BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-xproto libmagic-dev"
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25  	cd $src
    1.26  	sed -i 's|xpdf|epdfview|g' src/e2_filetype.c
    1.27 -	sed -i 's|gview|gpicview|g' src/e2_filetype.c
    1.28 +	sed -i 's|gview|viewnior|g' src/e2_filetype.c
    1.29  	sed -i 's|totem|xine|g' src/e2_filetype.c
    1.30  	sed -i 's|Totem|Xine|g' src/e2_filetype.c
    1.31  	make PREFIX=/usr &&
    1.32  	make i18n PREFIX=/usr &&
    1.33 -	make install PREFIX=$PWD/_pkg/usr &&
    1.34 -	make install_i18n PREFIX=$PWD/_pkg/usr
    1.35 +	make install PREFIX=$DESTDIR/usr &&
    1.36 +	make install_i18n PREFIX=$DESTDIR/usr
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -	mkdir -p $fs/usr/share/locale $fs/usr/share/applications
    1.43 -	cp -a $stuff/emelfm2.dekstop $fs/usr/share/applications
    1.44 -	cp -a $_pkg/usr/bin $fs/usr
    1.45 -	cp -a $_pkg/usr/lib $fs/usr
    1.46 -	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.47 +	mkdir -p $fs/usr/share
    1.48 +	cp -a $install/usr/bin $fs/usr
    1.49 +	cp -a $install/usr/lib $fs/usr
    1.50 +	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.51  	cd $fs/usr/share/pixmaps
    1.52  	ln -s emelfm2/emelfm2_32.png emelfm2.png
    1.53  }