wok view emelfm2/receipt @ rev 4831

Up: beaver (0.4.0rc1) - Add custom config file, may replace geany has code editor
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jan 21 23:14:05 2010 +0100 (2010-01-21)
parents 4dd8b59b717b
children 31c985a0bd3d
line source
1 # SliTaz package receipt.
3 PACKAGE="emelfm2"
4 VERSION="0.7.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="GTK powerfull file manager."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ xorg-libXdamage"
9 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-xproto libmagic-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://emelfm2.net/"
12 WGET_URL="http://emelfm2.net/rel/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's|xpdf|epdfview|g' src/e2_filetype.c
19 sed -i 's|gview|gpicview|g' src/e2_filetype.c
20 sed -i 's|totem|xine|g' src/e2_filetype.c
21 sed -i 's|Totem|Xine|g' src/e2_filetype.c
22 make PREFIX=/usr &&
23 make i18n PREFIX=/usr &&
24 make install PREFIX=$PWD/_pkg/usr &&
25 make install_i18n PREFIX=$PWD/_pkg/usr
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/locale
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
34 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
35 cd $fs/usr/share/pixmaps
36 ln -s emelfm2/emelfm2_32.png emelfm2.png
37 }