wok-current view emelfm2/receipt @ rev 23791
updated ytree (1.97 -> 2.02)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 22 07:54:03 2020 +0100 (2020-05-22) |
parents | 2bdcf02d05af |
children | d8c511e24c20 |
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|uname -m|echo i486|' Makefile
22 sed -i 's|xpdf|epdfview|g' src/e2_filetype.c
23 sed -i 's|gview|viewnior|g' src/e2_filetype.c
24 sed -i 's|totem|xine|g' src/e2_filetype.c
25 sed -i 's|Totem|Xine|g' src/e2_filetype.c
26 make PREFIX=/usr &&
27 make i18n PREFIX=/usr &&
28 make install PREFIX=$DESTDIR/usr &&
29 make install_i18n PREFIX=$DESTDIR/usr
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 cp -a $install/usr/share/pixmaps $fs/usr/share
39 cd $fs/usr/share/pixmaps
40 ln -s emelfm2/emelfm2_32.png emelfm2.png
41 }