wok-next annotate emelfm2/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents f99935f1778a
children d5aab818505e
rev   line source
al@21017 1 # SliTaz package receipt v2.
pankso@46 2
pankso@46 3 PACKAGE="emelfm2"
pankso@15956 4 VERSION="0.9.1"
pankso@202 5 CATEGORY="system-tools"
pankso@46 6 SHORT_DESC="GTK powerfull file manager."
pankso@46 7 MAINTAINER="pankso@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
al@21017 9 WEB_SITE="https://web.archive.org/web/20171213042310/http://emelfm2.net/"
al@21017 10
pankso@3071 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@20906 12 WGET_URL="http://emelfm2.net/rel/$TARBALL" # FIXME
pankso@46 13
al@21017 14 BUILD_DEPENDS="gtk2-dev xorg-xorgproto libmagic-dev \
pascal@20003 15 coreutils-operations gettext-tools"
pankso@12705 16
al@21017 17 compile_rules() {
jozee@2572 18 sed -i 's|xpdf|epdfview|g' src/e2_filetype.c
pankso@12705 19 sed -i 's|gview|viewnior|g' src/e2_filetype.c
pankso@3071 20 sed -i 's|totem|xine|g' src/e2_filetype.c
pankso@3071 21 sed -i 's|Totem|Xine|g' src/e2_filetype.c
al@21017 22
pascal@1451 23 make PREFIX=/usr &&
pascal@1451 24 make i18n PREFIX=/usr &&
pankso@12705 25 make install PREFIX=$DESTDIR/usr &&
pankso@12705 26 make install_i18n PREFIX=$DESTDIR/usr
pankso@46 27 }
pankso@46 28
al@21017 29 genpkg_rules() {
pankso@12705 30 mkdir -p $fs/usr/share
pankso@12705 31 cp -a $install/usr/bin $fs/usr
pankso@12705 32 cp -a $install/usr/lib $fs/usr
pankso@12705 33 cp -a $install/usr/share/pixmaps $fs/usr/share
pankso@760 34 cd $fs/usr/share/pixmaps
pankso@760 35 ln -s emelfm2/emelfm2_32.png emelfm2.png
al@21017 36 DEPENDS="gtk2 xorg-libXdamage"
al@21017 37 TAGS="file-manager"
pankso@46 38 }