wok-next view emelfm2/receipt @ rev 20457
Tiny edits
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 11:13:24 2018 +0200 (2018-03-02) |
parents | 2bdcf02d05af |
children | d43bf7aae921 |
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 gettext-tools"
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 }