wok-current view emelfm2/receipt @ rev 16879

pango-dev: add harfbuzz-dev to deps.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jul 13 20:16:24 2014 +0300 (2014-07-13)
parents 2b9f96603415
children 2bdcf02d05af
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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
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 }