wok-next view emelfm2/receipt @ rev 21104
make: patch from LFS
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:26:16 2019 +0200 (2019-01-03) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="emelfm2"
4 VERSION="0.9.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="GTK powerfull file manager"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://web.archive.org/web/20171213042310/http://emelfm2.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://emelfm2.net/rel/$TARBALL" # FIXME
14 BUILD_DEPENDS="gtk2-dev xorgproto libmagic-dev coreutils-operations gettext"
16 compile_rules() {
17 sed \
18 -e 's|xpdf|epdfview|g' \
19 -e 's|gview|viewnior|g' \
20 -e 's|totem|xine|g' \
21 -e 's|Totem|Xine|g' \
22 -i src/e2_filetype.c
24 make PREFIX=/usr &&
25 make PREFIX=/usr i18n &&
26 make PREFIX=$install/usr install &&
27 make PREFIX=$install/usr install_i18n
28 }
30 genpkg_rules() {
31 mkdir -p $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 cp -a $install/usr/share/pixmaps $fs/usr/share
35 cd $fs/usr/share/pixmaps
36 ln -s emelfm2/emelfm2_32.png emelfm2.png
37 DEPENDS="gtk2 libxdamage"
38 TAGS="file-manager"
39 }