wok-next annotate feh/receipt @ rev 20475
Tiny edits: libsdl-mixer, scummvm, stella, syasokoban, sz81, tuxpaint, workerfm...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Mar 11 13:37:02 2018 +0200 (2018-03-11) |
parents | dd145c435e4b |
children | f99935f1778a |
rev | line source |
---|---|
mallory@1133 | 1 # SliTaz package receipt |
mallory@1133 | 2 |
mallory@1133 | 3 PACKAGE="feh" |
devl547@16280 | 4 VERSION="2.10" |
mallory@1133 | 5 CATEGORY="graphics" |
jozee@4936 | 6 SHORT_DESC="Lightweight and powerful image viewer and composer" |
pankso@16429 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15593 | 8 LICENSE="MIT" |
slaxemulator@6510 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@6510 | 10 WEB_SITE="http://derf.homelinux.org/~derf/projects/feh/" |
slaxemulator@6510 | 11 WGET_URL="http://derf.homelinux.org/~derf/projects/$PACKAGE/$TARBALL" |
jozee@4936 | 12 TAGS="image photo viewer" |
mallory@1133 | 13 |
al@20454 | 14 DEPENDS="imlib2 giblib jpeg libpng16 xorg-libX11 freetype xorg-libXau \ |
pankso@10442 | 15 xorg-libXdmcp xorg-libXext xorg-libXinerama libcurl" |
pankso@10442 | 16 BUILD_DEPENDS="imlib2-dev giblib-dev xorg-xproto xorg-xineramaproto \ |
al@20454 | 17 xorg-libX11-dev libpng16-dev jpeg-dev curl-dev xorg-libXinerama-dev \ |
pascal@20105 | 18 xorg-libXt-dev" |
pankso@10442 | 19 |
mallory@1133 | 20 # Rules to configure and make the package. |
mallory@1133 | 21 compile_rules() |
mallory@1133 | 22 { |
slaxemulator@6510 | 23 sed -i -e 's:/usr/local:/usr:g' config.mk && |
pankso@16429 | 24 make && make DESTDIR=$DESTDIR install && |
pankso@16429 | 25 # Fix path to icon and remove from menu since it need a param to |
pankso@16429 | 26 # load images. |
pankso@16429 | 27 sed -i \ |
pankso@16429 | 28 -e s'#/home/slitaz/wok/feh/install##' \ |
pankso@16429 | 29 -e '/Categories.*/'d \ |
pankso@16429 | 30 $DESTDIR/usr/share/applications/feh.desktop || return 1 |
mallory@1133 | 31 } |
mallory@1133 | 32 |
mallory@1133 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@1133 | 34 genpkg_rules() |
mallory@1133 | 35 { |
mallory@1133 | 36 mkdir -p $fs/usr/bin |
mallory@1407 | 37 mkdir -p $fs/usr/share/feh |
mallory@1407 | 38 mkdir -p $fs/usr/share/feh/fonts |
mallory@1407 | 39 mkdir -p $fs/usr/share/feh/images |
mallory@1407 | 40 |
pascal@15593 | 41 cp -a $install/usr/bin/feh $fs/usr/bin |
pascal@15593 | 42 cp -a $install/usr/share/feh/fonts $fs/usr/share/feh |
pascal@15593 | 43 cp -a $install/usr/share/feh/images $fs/usr/share/feh |
mallory@1133 | 44 } |