wok-6.x annotate feh/receipt @ rev 3718
Upgrade: lxmenu-data (0.1 to 0.1.1)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Tue Jul 21 12:27:28 2009 +0000 (2009-07-21) |
parents | bd6a02acbdf9 |
children | fb8aceda65ff |
rev | line source |
---|---|
mallory@1133 | 1 # SliTaz package receipt |
mallory@1133 | 2 |
mallory@1133 | 3 PACKAGE="feh" |
mallory@1133 | 4 VERSION="1.3.4" |
mallory@1133 | 5 CATEGORY="graphics" |
mallory@1133 | 6 SHORT_DESC="Lightweight and powerfull 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" |
mallory@1407 | 10 BUILD_DEPENDS="imlib2-dev imlib2 giblib-dev giblib xorg-xproto xorg-xineramaproto xorg-libX11-dev libpng-dev jpeg-dev zlib-dev" |
mallory@1133 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mallory@1133 | 12 WEB_SITE="http://linuxbrit.co.uk/feh/" |
mallory@1133 | 13 WGET_URL="http://linuxbrit.co.uk/downloads/$TARBALL" |
mallory@1133 | 14 |
mallory@1133 | 15 # Rules to configure and make the package. |
mallory@1133 | 16 compile_rules() |
mallory@1133 | 17 { |
mallory@1133 | 18 cd $src |
pascal@2486 | 19 ./configure --prefix=/usr && |
pascal@2486 | 20 make && |
mallory@1407 | 21 make DESTDIR=$src/_pkg install |
mallory@1133 | 22 } |
mallory@1133 | 23 |
mallory@1133 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@1133 | 25 genpkg_rules() |
mallory@1133 | 26 { |
mallory@1133 | 27 mkdir -p $fs/usr/bin |
mallory@1407 | 28 mkdir -p $fs/usr/share/feh |
mallory@1407 | 29 mkdir -p $fs/usr/share/feh/fonts |
mallory@1407 | 30 mkdir -p $fs/usr/share/feh/images |
mallory@1407 | 31 |
mallory@1133 | 32 cp -a $_pkg/usr/bin/feh $fs/usr/bin |
mallory@1407 | 33 cp -a $_pkg/usr/share/feh/fonts $fs/usr/share/feh |
mallory@1407 | 34 cp -a $_pkg/usr/share/feh/images $fs/usr/share/feh |
mallory@1133 | 35 } |