wok-next annotate feh/receipt @ rev 16024

spk: add to cross arch's
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 06 23:00:20 2014 +0100 (2014-03-06)
parents ff4f18749cef
children f281cdc8af83
rev   line source
mallory@1133 1 # SliTaz package receipt
mallory@1133 2
mallory@1133 3 PACKAGE="feh"
slaxemulator@10086 4 VERSION="1.14.1"
mallory@1133 5 CATEGORY="graphics"
jozee@4936 6 SHORT_DESC="Lightweight and powerful image viewer and composer"
mallory@1133 7 MAINTAINER="mallory@sweetpeople.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
pankso@10442 14 DEPENDS="imlib2 giblib jpeg libpng 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 \
pankso@10442 17 xorg-libX11-dev libpng-dev jpeg-dev curl-dev"
pankso@10442 18
mallory@1133 19 # Rules to configure and make the package.
mallory@1133 20 compile_rules()
mallory@1133 21 {
mallory@1133 22 cd $src
slaxemulator@6510 23 sed -i -e 's:/usr/local:/usr:g' config.mk &&
pankso@10442 24 make && make DESTDIR=$DESTDIR install
mallory@1133 25 }
mallory@1133 26
mallory@1133 27 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@1133 28 genpkg_rules()
mallory@1133 29 {
mallory@1133 30 mkdir -p $fs/usr/bin
mallory@1407 31 mkdir -p $fs/usr/share/feh
mallory@1407 32 mkdir -p $fs/usr/share/feh/fonts
mallory@1407 33 mkdir -p $fs/usr/share/feh/images
mallory@1407 34
pascal@15593 35 cp -a $install/usr/bin/feh $fs/usr/bin
pascal@15593 36 cp -a $install/usr/share/feh/fonts $fs/usr/share/feh
pascal@15593 37 cp -a $install/usr/share/feh/images $fs/usr/share/feh
mallory@1133 38 }