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

Add TeXmacs (thanks Philippe)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 17 15:18:25 2010 +0100 (2010-12-17)
parents 7933717f23d2
children 9a2bbff150de
rev   line source
mallory@1133 1 # SliTaz package receipt
mallory@1133 2
mallory@1133 3 PACKAGE="feh"
slaxemulator@7535 4 VERSION="1.10.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@2486 8 DEPENDS="imlib2 giblib jpeg libpng zlib xorg-libX11 freetype xorg-libXau \
pascal@2486 9 xorg-libXdmcp xorg-libXext xorg-libXinerama"
slaxemulator@7535 10 BUILD_DEPENDS="imlib2-dev giblib-dev xorg-xproto xorg-xineramaproto xorg-libX11-dev libpng-dev jpeg-dev zlib-dev"
slaxemulator@6510 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@6510 12 WEB_SITE="http://derf.homelinux.org/~derf/projects/feh/"
slaxemulator@6510 13 WGET_URL="http://derf.homelinux.org/~derf/projects/$PACKAGE/$TARBALL"
jozee@4936 14 TAGS="image photo viewer"
mallory@1133 15
mallory@1133 16 # Rules to configure and make the package.
mallory@1133 17 compile_rules()
mallory@1133 18 {
mallory@1133 19 cd $src
slaxemulator@6510 20 sed -i -e 's:/usr/local:/usr:g' config.mk &&
pascal@2486 21 make &&
mallory@1407 22 make DESTDIR=$src/_pkg install
mallory@1133 23 }
mallory@1133 24
mallory@1133 25 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@1133 26 genpkg_rules()
mallory@1133 27 {
mallory@1133 28 mkdir -p $fs/usr/bin
mallory@1407 29 mkdir -p $fs/usr/share/feh
mallory@1407 30 mkdir -p $fs/usr/share/feh/fonts
mallory@1407 31 mkdir -p $fs/usr/share/feh/images
mallory@1407 32
mallory@1133 33 cp -a $_pkg/usr/bin/feh $fs/usr/bin
mallory@1407 34 cp -a $_pkg/usr/share/feh/fonts $fs/usr/share/feh
mallory@1407 35 cp -a $_pkg/usr/share/feh/images $fs/usr/share/feh
mallory@1133 36 }