wok-undigest diff ede/receipt @ rev 1245
removed obsolete recipes
author | Hans-G?nter Theisgen |
---|---|
date | Sun Aug 07 10:06:14 2022 +0100 (23 months ago) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ede/receipt Sun Aug 07 10:06:14 2022 +0100 1.3 @@ -0,0 +1,59 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="ede" 1.7 +VERSION="2.0" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Light Window Manager using FLTK toolkit." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="LGPL" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://equinox-project.org/" 1.14 +WGET_URL="$SF_MIRROR/project/ede/ede/$VERSION/$TARBALL" 1.15 + 1.16 +DEPENDS="fltk edelib startup-notification" 1.17 +BUILD_DEPENDS="ftjam fltk-dev edelib-dev startup-notification-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + ./configure \ 1.23 + --sysconfdir=/etc \ 1.24 + $CONFIGURE_ARGS && 1.25 + # http://sourceforge.net/projects/ede/forums/forum/249616/topic/5288645 1.26 + sed -i '15i unset XDG_{DATA,CONFIG,CACHE,MENUS}_{HOME,DIRS,PREFIX}' \ 1.27 + data/startede && 1.28 + jam && jam install 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr/bin $fs/usr/share 1.35 + cp -a $install/etc $fs 1.36 + cp -a $install/usr/bin $fs/usr 1.37 + cp -a $install/usr/share/dbus-1 $fs/usr/share 1.38 + cp -a $install/usr/share/desktop-* $fs/usr/share 1.39 + cp -a $install/usr/share/ede $fs/usr/share 1.40 + cp -a $install/usr/share/icons $fs/usr/share 1.41 + cp -a $install/usr/share/pekwm $fs/usr/share 1.42 + cp -a $install/usr/share/xsessions $fs/usr/share 1.43 +} 1.44 + 1.45 +post_install() 1.46 +{ 1.47 + res=$(cat $root/etc/slim.conf | grep ^session | sed s/"sessions. *"//) 1.48 + # Adding WM to SLIM available sessions. 1.49 + if ! echo "$res" | grep -q startede; then 1.50 + echo -n "Adding $PACKAGE to /etc/slim.conf..." 1.51 + sed -i "s/^sessions.*/sessions ${res},startede/" $root/etc/slim.conf 1.52 + status 1.53 + fi 1.54 +} 1.55 + 1.56 +post_remove() 1.57 +{ 1.58 + # Remove WM from SLIM available sessions. 1.59 + if grep -q startede $root/etc/slim.conf; then 1.60 + sed -i s/,startede// $root/etc/slim.conf 1.61 + fi 1.62 +}