wok-current view emelfm2/receipt @ rev 12774
ncurses: avoid dbep loop: work around
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 13 04:39:35 2012 +0200 (2012-05-13) |
parents | af9a1b47948c |
children | 2b9f96603415 |
line source
1 # SliTaz package receipt.
3 PACKAGE="emelfm2"
4 VERSION="0.8.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="GTK powerfull file manager."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://emelfm2.net/"
10 WGET_URL="http://emelfm2.net/rel/$TARBALL"
11 TAGS="file-manager"
13 DEPENDS="gtk+ xorg-libXdamage"
14 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-xproto libmagic-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's|xpdf|epdfview|g' src/e2_filetype.c
21 sed -i 's|gview|viewnior|g' src/e2_filetype.c
22 sed -i 's|totem|xine|g' src/e2_filetype.c
23 sed -i 's|Totem|Xine|g' src/e2_filetype.c
24 make PREFIX=/usr &&
25 make i18n PREFIX=/usr &&
26 make install PREFIX=$DESTDIR/usr &&
27 make install_i18n PREFIX=$DESTDIR/usr
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 cp -a $install/usr/share/pixmaps $fs/usr/share
37 cd $fs/usr/share/pixmaps
38 ln -s emelfm2/emelfm2_32.png emelfm2.png
39 }