wok view emelfm2/receipt @ rev 2572

Change pdfviewer xpdf to epdfview in emelfm2
author ROhit Joshi <jozee@slitaz.org>
date Wed Apr 01 17:08:43 2009 +0000 (2009-04-01)
parents c2e62b65e0fa
children 32d8dad532d8
line source
1 # SliTaz package receipt.
3 PACKAGE="emelfm2"
4 VERSION="0.4.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="GTK powerfull file manager."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+"
9 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-xproto"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
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 make PREFIX=/usr &&
20 make i18n PREFIX=/usr &&
21 make install PREFIX=$PWD/_pkg/usr &&
22 make install_i18n PREFIX=$PWD/_pkg/usr
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/locale
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
31 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
32 cd $fs/usr/share/pixmaps
33 ln -s emelfm2/emelfm2_32.png emelfm2.png
34 }