wok annotate feh/receipt @ rev 15350
ruby-gtk2: no more libglade ?
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 30 15:30:22 2013 +0000 (2013-09-30) |
parents | 50467bb1d9b3 |
children | 3b4e4318134e |
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" |
slaxemulator@6510 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@6510 | 9 WEB_SITE="http://derf.homelinux.org/~derf/projects/feh/" |
slaxemulator@6510 | 10 WGET_URL="http://derf.homelinux.org/~derf/projects/$PACKAGE/$TARBALL" |
jozee@4936 | 11 TAGS="image photo viewer" |
mallory@1133 | 12 |
pankso@10442 | 13 DEPENDS="imlib2 giblib jpeg libpng xorg-libX11 freetype xorg-libXau \ |
pankso@10442 | 14 xorg-libXdmcp xorg-libXext xorg-libXinerama libcurl" |
pankso@10442 | 15 BUILD_DEPENDS="imlib2-dev giblib-dev xorg-xproto xorg-xineramaproto \ |
pankso@10442 | 16 xorg-libX11-dev libpng-dev jpeg-dev curl-dev" |
pankso@10442 | 17 |
mallory@1133 | 18 # Rules to configure and make the package. |
mallory@1133 | 19 compile_rules() |
mallory@1133 | 20 { |
mallory@1133 | 21 cd $src |
slaxemulator@6510 | 22 sed -i -e 's:/usr/local:/usr:g' config.mk && |
pankso@10442 | 23 make && make DESTDIR=$DESTDIR install |
mallory@1133 | 24 } |
mallory@1133 | 25 |
mallory@1133 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@1133 | 27 genpkg_rules() |
mallory@1133 | 28 { |
mallory@1133 | 29 mkdir -p $fs/usr/bin |
mallory@1407 | 30 mkdir -p $fs/usr/share/feh |
mallory@1407 | 31 mkdir -p $fs/usr/share/feh/fonts |
mallory@1407 | 32 mkdir -p $fs/usr/share/feh/images |
mallory@1407 | 33 |
mallory@1133 | 34 cp -a $_pkg/usr/bin/feh $fs/usr/bin |
mallory@1407 | 35 cp -a $_pkg/usr/share/feh/fonts $fs/usr/share/feh |
mallory@1407 | 36 cp -a $_pkg/usr/share/feh/images $fs/usr/share/feh |
mallory@1133 | 37 } |