wok view emelfm2/receipt @ rev 19701

Up: slitaz-tools and slitaz-configs
author Christophe Lincoln <pankso@slitaz.org>
date Tue Feb 14 12:11:41 2017 +0100 (2017-02-14)
parents 3ce6e8de7381
children 3705d68ed8f3
line source
1 # SliTaz package receipt.
3 PACKAGE="emelfm2"
4 VERSION="0.9.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="GTK powerfull file manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://emelfm2.net/"
11 WGET_URL="http://emelfm2.net/rel/$TARBALL"
12 TAGS="file-manager"
14 DEPENDS="gtk+ xorg-libXdamage"
15 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-xproto libmagic-dev \
16 coreutils-operations"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's|xpdf|epdfview|g' src/e2_filetype.c
22 sed -i 's|gview|viewnior|g' src/e2_filetype.c
23 sed -i 's|totem|xine|g' src/e2_filetype.c
24 sed -i 's|Totem|Xine|g' src/e2_filetype.c
25 make PREFIX=/usr &&
26 make i18n PREFIX=/usr &&
27 make install PREFIX=$DESTDIR/usr &&
28 make install_i18n PREFIX=$DESTDIR/usr
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/usr/share/pixmaps $fs/usr/share
38 cd $fs/usr/share/pixmaps
39 ln -s emelfm2/emelfm2_32.png emelfm2.png
40 }