wok view emelfm2/receipt @ rev 14999

Add GPL3 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 13:52:56 2013 +0000 (2013-08-10)
parents 0a0e095ba6fa
children 3ce6e8de7381
line source
1 # SliTaz package receipt.
3 PACKAGE="emelfm2"
4 VERSION="0.8.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 }