wok-current view emelfm2/receipt @ rev 12312
Rename razor-qt to razorqt (Follow https://github.com/Razor-qt/razor-qt/wiki/Packaging)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 17 14:21:40 2012 +0200 (2012-04-17) |
parents | fd8c47a37450 |
children | 0a0e095ba6fa |
line source
1 # SliTaz package receipt.
3 PACKAGE="emelfm2"
4 VERSION="0.7.2"
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"
13 TAGS="file-manager"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's|xpdf|epdfview|g' src/e2_filetype.c
20 sed -i 's|gview|gpicview|g' src/e2_filetype.c
21 sed -i 's|totem|xine|g' src/e2_filetype.c
22 sed -i 's|Totem|Xine|g' src/e2_filetype.c
23 make PREFIX=/usr &&
24 make i18n PREFIX=/usr &&
25 make install PREFIX=$PWD/_pkg/usr &&
26 make install_i18n PREFIX=$PWD/_pkg/usr
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/locale $fs/usr/share/applications
33 cp -a $stuff/emelfm2.dekstop $fs/usr/share/applications
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib $fs/usr
36 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
37 cd $fs/usr/share/pixmaps
38 ln -s emelfm2/emelfm2_32.png emelfm2.png
39 }