wok annotate icewm-xdgmenu/receipt @ rev 25185

mplayer: added dependency ffmpeg
author Hans-G?nter Theisgen
date Tue Jul 12 09:50:00 2022 +0100 (2022-07-12)
parents e3f377fbc5f0
children
rev   line source
psychomaniak@17159 1 # SliTaz package receipt.
psychomaniak@17159 2
psychomaniak@17159 3 PACKAGE="icewm-xdgmenu"
pascal@24465 4 VERSION="0.7.6-9"
psychomaniak@17159 5 CATEGORY="x-window"
psychomaniak@17159 6 SHORT_DESC="icewm App-Menu generator (pl/py-free version)"
psychomaniak@17159 7 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@17159 8 LICENSE="GPL2"
pascal@20673 9 WEB_SITE="https://web.archive.org/web/20150421203203/http://bkhome.org/blog/?viewDetailed=02680"
pascal@24465 10 SOURCE="xdg_puppy"
pascal@24465 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
psychomaniak@17159 12 WGET_URL="http://distro.ibiblio.org/puppylinux/sources/x/$TARBALL"
psychomaniak@17159 13
psychomaniak@17159 14 DEPENDS="gnome-menus slitaz-menus icewm"
psychomaniak@17159 15 BUILD_DEPENDS="gnome-menus gnome-menus-dev"
psychomaniak@17159 16
pascal@24465 17 # What is the latest version available today?
pascal@24465 18 current_version()
pascal@24465 19 {
pascal@24465 20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24465 21 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24465 22 }
pascal@24465 23
psychomaniak@17159 24 # Rules to configure and make the package.
psychomaniak@17159 25 compile_rules()
psychomaniak@17159 26 {
psychomaniak@17159 27 cd $src/$PACKAGE
psychomaniak@17159 28 sed -i 's|root0/.|usr/share/|g' Makefile
psychomaniak@17159 29 sed -i '/tar -/d' Makefile && make
psychomaniak@17159 30 make PKGNAME=$install BINDIR=/usr/bin install
psychomaniak@17159 31 }
psychomaniak@17159 32
psychomaniak@17159 33 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@17159 34 genpkg_rules()
psychomaniak@17159 35 {
psychomaniak@17159 36 cp -a $install/usr $fs
psychomaniak@17159 37 cp -f $stuff/* $fs/usr/share/icewm
psychomaniak@17159 38 }
psychomaniak@17159 39
psychomaniak@17159 40 post_install()
psychomaniak@17159 41 {
psychomaniak@17159 42 ico="/usr/share/icons/SliTaz"
psychomaniak@17159 43 IconPath="$ico/apps/22:/usr/share/pixmaps:$ico/categories/22:$ico/devices/22:$ico/mimetypes/32"
psychomaniak@17159 44 pref="$1/usr/share/icewm/preferences"
psychomaniak@17159 45 echo ' '>> $pref
psychomaniak@17159 46 echo 'IconPath="'$IconPath'"' >> $pref
psychomaniak@17159 47 echo 'MenuMouseTracking=1' >> $pref
psychomaniak@17159 48 }