wok-next annotate icewm-xdgmenu/receipt @ rev 21276

try to build gens-gs again
author Hans-G?nter Theisgen
date Sat Dec 07 15:51:18 2019 +0100 (2019-12-07)
parents d5aab818505e
children
rev   line source
psychomaniak@17159 1 # SliTaz package receipt.
psychomaniak@17159 2
psychomaniak@17159 3 PACKAGE="icewm-xdgmenu"
psychomaniak@17159 4 VERSION="0.7.6"
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"
al@20949 9 WEB_SITE="https://web.archive.org/web/20150421203203/http://bkhome.org/blog/?viewDetailed=02680"
al@21020 10
psychomaniak@17159 11 SOURCE="xdg_puppy-0.7.6-9.tar.bz2"
psychomaniak@17159 12 TARBALL=$SOURCE
psychomaniak@17159 13 WGET_URL="http://distro.ibiblio.org/puppylinux/sources/x/$TARBALL"
psychomaniak@17159 14
al@21078 15 BUILD_DEPENDS="gnome-menus gnome-menus-dev glib-dev libxpm libxext"
psychomaniak@17159 16
al@21020 17 compile_rules() {
psychomaniak@17159 18 cd $src/$PACKAGE
psychomaniak@17159 19 sed -i 's|root0/.|usr/share/|g' Makefile
al@21020 20 sed -i '/tar -/d' Makefile
al@21020 21
al@21020 22 make &&
psychomaniak@17159 23 make PKGNAME=$install BINDIR=/usr/bin install
psychomaniak@17159 24 }
psychomaniak@17159 25
al@21020 26 genpkg_rules() {
psychomaniak@17159 27 cp -a $install/usr $fs
psychomaniak@17159 28 cp -f $stuff/* $fs/usr/share/icewm
al@21020 29 DEPENDS="gnome-menus slitaz-menus icewm"
psychomaniak@17159 30 }
psychomaniak@17159 31
al@21020 32 post_install() {
psychomaniak@17159 33 ico="/usr/share/icons/SliTaz"
psychomaniak@17159 34 IconPath="$ico/apps/22:/usr/share/pixmaps:$ico/categories/22:$ico/devices/22:$ico/mimetypes/32"
psychomaniak@17159 35 pref="$1/usr/share/icewm/preferences"
psychomaniak@17159 36 echo ' '>> $pref
psychomaniak@17159 37 echo 'IconPath="'$IconPath'"' >> $pref
psychomaniak@17159 38 echo 'MenuMouseTracking=1' >> $pref
psychomaniak@17159 39 }