wok-next diff epdfview-cups/receipt @ rev 12048

more desktop file cleanup
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Mar 07 15:31:19 2012 -0800 (2012-03-07)
parents 129bb5b11a7e
children a5587b626515
line diff
     1.1 --- a/epdfview-cups/receipt	Wed Mar 02 03:12:51 2011 +0000
     1.2 +++ b/epdfview-cups/receipt	Wed Mar 07 15:31:19 2012 -0800
     1.3 @@ -1,42 +1,37 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="epdfview-cups"
     1.7 -VERSION="0.1.7"
     1.8 +VERSION="0.1.8"
     1.9  CATEGORY="office"
    1.10  SHORT_DESC="Lightweight PDF document viewer using Poppler and Cups."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -DEPENDS="gtk+ poppler glib libpng cups xorg-libXdamage gcc-lib-base libcomerr3"
    1.13 -BUILD_DEPENDS="gtk+-dev poppler-dev poppler cups cups-dev"
    1.14  SOURCE="epdfview"
    1.15  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.16  WEB_SITE="http://trac.emma-soft.com/epdfview/"
    1.17  WGET_URL="${WEB_SITE}chrome/site/releases/$TARBALL"
    1.18  PROVIDE="epdfview:cups"
    1.19  
    1.20 +DEPENDS="gtk+ poppler glib libpng cups xorg-libXdamage gcc-lib-base libcomerr3"
    1.21 +BUILD_DEPENDS="gtk+-dev poppler-dev poppler cups cups-dev"
    1.22 +
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26  	cd $src
    1.27  	./configure \
    1.28 -		--prefix=/usr \
    1.29 -		--infodir=/usr/share/info \
    1.30 -		--mandir=/usr/share/man \
    1.31  		--with-cups \
    1.32  		$CONFIGURE_ARGS &&
    1.33 -	make &&
    1.34 -	make DESTDIR=$PWD/_pkg install
    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/pixmaps
    1.42 -	cp -a $_pkg/usr/bin $fs/usr
    1.43 -	cp -a $_pkg/usr/share/epdfview $fs/usr/share
    1.44 +	cp -a $install/usr/bin $fs/usr
    1.45 +	cp -a $install/usr/share/epdfview $fs/usr/share
    1.46  	cd $fs/usr/share/pixmaps
    1.47 -	rm ../epdfview/pixmaps/icon_epdfview-24.png
    1.48 -	rm ../epdfview/pixmaps/icon_epdfview-48.png
    1.49 -	ln -s ../epdfview/pixmaps/icon_epdfview-32.png epdfview.png
    1.50 +	ln -sf /usr/share/epdfview/pixmaps/icon_epdfview-32.png epdfview.png
    1.51  }
    1.52  
    1.53  # Pre install commands for Tazpkg.