wok annotate emelfm2/receipt @ rev 25028

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 17:04:56 2022 +0000 (23 months ago)
parents cb67b4f8be05
children
rev   line source
pankso@46 1 # SliTaz package receipt.
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"
pankso@3071 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@24746 10 WEB_SITE="https://emelfm2.net/"
pascal@25028 11 WGET_URL="http://tinycorelinux.net/dCore/x86/import/src/$PACKAGE/$TARBALL"
jozee@4935 12 TAGS="file-manager"
pankso@46 13
pankso@12705 14 DEPENDS="gtk+ xorg-libXdamage"
pascal@18421 15 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-xproto libmagic-dev \
pascal@18421 16 coreutils-operations"
pankso@12705 17
pascal@24491 18 # What is the latest version available today?
pascal@24491 19 current_version()
pascal@24491 20 {
pascal@24491 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24491 22 sed '/emelfm2-/!d;s|.*>emelfm2-||;s|.tar.*||;q'
pascal@24491 23 }
pascal@24491 24
pankso@46 25 # Rules to configure and make the package.
pankso@46 26 compile_rules()
pankso@46 27 {
pascal@20212 28 sed -i 's|uname -m|echo i486|' Makefile
jozee@2572 29 sed -i 's|xpdf|epdfview|g' src/e2_filetype.c
pankso@12705 30 sed -i 's|gview|viewnior|g' src/e2_filetype.c
pankso@3071 31 sed -i 's|totem|xine|g' src/e2_filetype.c
pankso@3071 32 sed -i 's|Totem|Xine|g' src/e2_filetype.c
pascal@1451 33 make PREFIX=/usr &&
pascal@1451 34 make i18n PREFIX=/usr &&
pankso@12705 35 make install PREFIX=$DESTDIR/usr &&
pankso@12705 36 make install_i18n PREFIX=$DESTDIR/usr
pankso@46 37 }
pankso@46 38
pankso@46 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@46 40 genpkg_rules()
pankso@46 41 {
pankso@12705 42 mkdir -p $fs/usr/share
pankso@12705 43 cp -a $install/usr/bin $fs/usr
pankso@12705 44 cp -a $install/usr/lib $fs/usr
pankso@12705 45 cp -a $install/usr/share/pixmaps $fs/usr/share
pankso@760 46 cd $fs/usr/share/pixmaps
pankso@760 47 ln -s emelfm2/emelfm2_32.png emelfm2.png
pankso@46 48 }