wok-current rev 11103

Up: epdfview to 0.1.8.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 17 03:00:38 2011 +0000 (2011-10-17)
parents 901e194c39a1
children b57c98f49e55
files epdfview-cups/receipt epdfview/receipt
line diff
     1.1 --- a/epdfview-cups/receipt	Mon Oct 17 02:58:00 2011 +0000
     1.2 +++ b/epdfview-cups/receipt	Mon Oct 17 03:00:38 2011 +0000
     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.
     2.1 --- a/epdfview/receipt	Mon Oct 17 02:58:00 2011 +0000
     2.2 +++ b/epdfview/receipt	Mon Oct 17 03:00:38 2011 +0000
     2.3 @@ -1,41 +1,35 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="epdfview"
     2.7 -VERSION="0.1.7"
     2.8 +VERSION="0.1.8"
     2.9  CATEGORY="office"
    2.10  SHORT_DESC="Lightweight PDF document viewer using Poppler."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 -DEPENDS="gtk+ poppler glib libpng xorg-libXdamage gcc-lib-base"
    2.13 -BUILD_DEPENDS="gtk+-dev poppler-dev poppler"
    2.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15  WEB_SITE="http://trac.emma-soft.com/epdfview/"
    2.16  WGET_URL="http://trac.emma-soft.com/epdfview/chrome/site/releases/$TARBALL"
    2.17  TAGS="pdf viewer"
    2.18  
    2.19 +DEPENDS="gtk+ poppler glib libpng xorg-libXdamage gcc-lib-base"
    2.20 +BUILD_DEPENDS="gtk+-dev poppler-dev poppler"
    2.21 +
    2.22  # Rules to configure and make the package.
    2.23  compile_rules()
    2.24  {
    2.25  	cd $src
    2.26 -	patch -Np0 -i $stuff/fix-scrolling.patch
    2.27  	./configure \
    2.28 -		--prefix=/usr \
    2.29 -		--infodir=/usr/share/info \
    2.30 -		--mandir=/usr/share/man \
    2.31  		--without-cups \
    2.32  		$CONFIGURE_ARGS &&
    2.33 -	make &&
    2.34 -	make DESTDIR=$PWD/_pkg install
    2.35 +	make && make install
    2.36  }
    2.37  
    2.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.39  genpkg_rules()
    2.40  {
    2.41      mkdir -p $fs/usr/share/pixmaps
    2.42 -    cp -a $_pkg/usr/bin $fs/usr
    2.43 -    cp -a $_pkg/usr/share/epdfview $fs/usr/share
    2.44 +    cp -a $install/usr/bin $fs/usr
    2.45 +    cp -a $install/usr/share/epdfview $fs/usr/share
    2.46      cd $fs/usr/share/pixmaps
    2.47 -	rm ../epdfview/pixmaps/icon_epdfview-24.png
    2.48 -	rm ../epdfview/pixmaps/icon_epdfview-48.png
    2.49 -    ln -s ../epdfview/pixmaps/icon_epdfview-32.png epdfview.png
    2.50 +    ln -sf /usr/share/epdfview/pixmaps/icon_epdfview-32.png epdfview.png
    2.51  }
    2.52