wok diff feh/receipt @ rev 23000

updated lftp (4.8.4 -> 4.9.1)
author Hans-G?nter Theisgen
date Mon Mar 02 16:23:52 2020 +0100 (2020-03-02)
parents e3f377fbc5f0
children ad8b9ff412d2
line diff
     1.1 --- a/feh/receipt	Thu Jan 24 17:15:36 2019 +0100
     1.2 +++ b/feh/receipt	Mon Mar 02 16:23:52 2020 +0100
     1.3 @@ -1,27 +1,34 @@
     1.4  # SliTaz package receipt
     1.5  
     1.6  PACKAGE="feh"
     1.7 -VERSION="2.10"
     1.8 +VERSION="3.3"
     1.9  CATEGORY="graphics"
    1.10 -SHORT_DESC="Lightweight and powerful image viewer and composer"
    1.11 +TAGS="image photo viewer"
    1.12 +SHORT_DESC="Lightweight and powerful image viewer and composer."
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="MIT"
    1.15 +WEB_SITE="https://feh.finalrewind.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -WEB_SITE="https://feh.finalrewind.org/"
    1.19 -WGET_URL="http://derf.homelinux.org/~derf/projects/$PACKAGE/$TARBALL"
    1.20 -TAGS="image photo viewer"
    1.21 +WGET_URL="${WEB_SITE}$TARBALL"
    1.22 +
    1.23 +DEPENDS="freetype gcc83-lib-base giblib imlib2 jpeg libcurl libpng xorg-libX11 
    1.24 +	xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXinerama"
    1.25 +BUILD_DEPENDS="curl-dev gcc83 giblib-dev imlib2-dev jpeg-dev libpng-dev 
    1.26 +	xorg-libX11-dev xorg-xineramaproto xorg-xproto"
    1.27 +
    1.28  HOST_ARCH="i486 arm"
    1.29  
    1.30 -DEPENDS="imlib2 giblib jpeg libpng xorg-libX11 freetype xorg-libXau \
    1.31 -xorg-libXdmcp xorg-libXext xorg-libXinerama libcurl"
    1.32 -BUILD_DEPENDS="imlib2-dev giblib-dev xorg-xproto xorg-xineramaproto \
    1.33 -xorg-libX11-dev libpng-dev jpeg-dev curl-dev"
    1.34 -
    1.35  # Rules to configure and make the package.
    1.36  compile_rules()
    1.37  {
    1.38 -	sed -i -e 's:/usr/local:/usr:g' config.mk &&
    1.39 -	make && make DESTDIR=$DESTDIR install &&
    1.40 +	make			\
    1.41 +		CC=gcc-83	\
    1.42 +		PREFIX=/usr &&
    1.43 +	make	install		\
    1.44 +		PREFIX=/usr	\
    1.45 +		DESTDIR=$DESTDIR  &&
    1.46 +
    1.47  	# Fix path to icon and remove from menu since it need a param to
    1.48  	# load images.
    1.49  	sed -i \
    1.50 @@ -34,11 +41,10 @@
    1.51  genpkg_rules()
    1.52  {
    1.53  	mkdir -p $fs/usr/bin
    1.54 -	mkdir -p $fs/usr/share/feh
    1.55  	mkdir -p $fs/usr/share/feh/fonts
    1.56  	mkdir -p $fs/usr/share/feh/images
    1.57  	
    1.58 -	cp -a $install/usr/bin/feh $fs/usr/bin
    1.59 -	cp -a $install/usr/share/feh/fonts $fs/usr/share/feh
    1.60 -	cp -a $install/usr/share/feh/images $fs/usr/share/feh
    1.61 +	cp -a $install/usr/bin/feh		$fs/usr/bin
    1.62 +	cp -a $install/usr/share/feh/fonts	$fs/usr/share/feh
    1.63 +	cp -a $install/usr/share/feh/images	$fs/usr/share/feh
    1.64  }