wok-current view emelfm2/receipt @ rev 24507
updated easy-rsa (3.0.6 -> 3.0.8)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 16:37:53 2022 +0100 (2022-02-20) |
parents | 3705d68ed8f3 |
children | cb67b4f8be05 |
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 \
16 coreutils-operations"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/emelfm2-/!d;s|.*>emelfm2-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|uname -m|echo i486|' Makefile
29 sed -i 's|xpdf|epdfview|g' src/e2_filetype.c
30 sed -i 's|gview|viewnior|g' src/e2_filetype.c
31 sed -i 's|totem|xine|g' src/e2_filetype.c
32 sed -i 's|Totem|Xine|g' src/e2_filetype.c
33 make PREFIX=/usr &&
34 make i18n PREFIX=/usr &&
35 make install PREFIX=$DESTDIR/usr &&
36 make install_i18n PREFIX=$DESTDIR/usr
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib $fs/usr
45 cp -a $install/usr/share/pixmaps $fs/usr/share
46 cd $fs/usr/share/pixmaps
47 ln -s emelfm2/emelfm2_32.png emelfm2.png
48 }