wok-next annotate emelfm2/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
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"
al@21020 6 SHORT_DESC="GTK powerfull file manager"
al@21020 7 MAINTAINER="devel@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@21020 14 BUILD_DEPENDS="gtk2-dev xorg-xorgproto libmagic-dev coreutils-operations gettext"
pankso@12705 15
al@21017 16 compile_rules() {
al@21020 17 sed \
al@21020 18 -e 's|xpdf|epdfview|g' \
al@21020 19 -e 's|gview|viewnior|g' \
al@21020 20 -e 's|totem|xine|g' \
al@21020 21 -e 's|Totem|Xine|g' \
al@21020 22 -i src/e2_filetype.c
al@21017 23
pascal@1451 24 make PREFIX=/usr &&
al@21020 25 make PREFIX=/usr i18n &&
al@21020 26 make PREFIX=$install/usr install &&
al@21020 27 make PREFIX=$install/usr install_i18n
pankso@46 28 }
pankso@46 29
al@21017 30 genpkg_rules() {
pankso@12705 31 mkdir -p $fs/usr/share
pankso@12705 32 cp -a $install/usr/bin $fs/usr
pankso@12705 33 cp -a $install/usr/lib $fs/usr
pankso@12705 34 cp -a $install/usr/share/pixmaps $fs/usr/share
pankso@760 35 cd $fs/usr/share/pixmaps
pankso@760 36 ln -s emelfm2/emelfm2_32.png emelfm2.png
al@21017 37 DEPENDS="gtk2 xorg-libXdamage"
al@21017 38 TAGS="file-manager"
pankso@46 39 }