wok-6.x annotate feh/receipt @ rev 19854

Up apulse (0.1.9)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Mar 16 22:51:26 2017 +0100 (2017-03-16)
parents 25e87a8bae2a
children e3f377fbc5f0
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"
pankso@16360 13 HOST_ARCH="i486 arm"
mallory@1133 14
pankso@10442 15 DEPENDS="imlib2 giblib jpeg libpng xorg-libX11 freetype xorg-libXau \
pankso@10442 16 xorg-libXdmcp xorg-libXext xorg-libXinerama libcurl"
pankso@10442 17 BUILD_DEPENDS="imlib2-dev giblib-dev xorg-xproto xorg-xineramaproto \
pankso@10442 18 xorg-libX11-dev libpng-dev jpeg-dev curl-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 }