wok-next rev 12020
Add node (0.6.12) - Node.js framwork (to run etherpad-lite on slitaz)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 06 14:17:35 2012 +0100 (2012-03-06) |
parents | 1505de7c87b2 |
children | e198cb1a4206 |
files | jwm/stuff/slitaz.jwmrc node/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/jwm/stuff/slitaz.jwmrc Tue Mar 06 14:17:35 2012 +0100 1.3 @@ -0,0 +1,172 @@ 1.4 +<?xml version="1.0"?> 1.5 + 1.6 +<JWM> 1.7 + 1.8 + <!-- The root menu, if this is undefined you will not get a menu. --> 1.9 + <!-- Additional RootMenu attributes: onroot, labeled, label --> 1.10 + <RootMenu height="26" onroot="123"> 1.11 + <Program icon="xterm.png" label="Terminal">terminal</Program> 1.12 + 1.13 + <Menu icon="" label="Applications"> 1.14 + <Program icon="" label="Nano Text editor">terminal -e nano</Program> 1.15 + <Program icon="" label="Retawq Web browser">terminal -e retawq</Program> 1.16 + </Menu> 1.17 + 1.18 + <Separator/> 1.19 + <Restart label="Restart" icon="restart.png"/> 1.20 + <Exit label="Exit" confirm="true" icon="exit.png"/> 1.21 + </RootMenu> 1.22 + 1.23 + <!-- Additional tray attributes: autohide, width, border, layer, layout --> 1.24 + <Tray x="0" y="-1" height="26"> 1.25 + 1.26 + <!-- Additional TrayButton attribute: label --> 1.27 + <TrayButton label="SliTaz">root:1</TrayButton> 1.28 + 1.29 + <TrayButton label="_">showdesktop</TrayButton> 1.30 + 1.31 + <!-- Additional Pager attributes; width, height --> 1.32 + <Pager labeled="false"/> 1.33 + 1.34 + <!-- Additional TaskList attribute: maxwidth --> 1.35 + <TaskList maxwidth="256"/> 1.36 + 1.37 + <Dock/> 1.38 + 1.39 + <!-- Additional Swallow attribute: height --> 1.40 + <!-- <Swallow name="xload" width="64"> 1.41 + xload -nolabel -bg black -fg red -hl white 1.42 + </Swallow> --> 1.43 + 1.44 + <Clock>xclock</Clock> 1.45 + 1.46 + </Tray> 1.47 + 1.48 + <!-- Visual Styles --> 1.49 + 1.50 + <WindowStyle> 1.51 + 1.52 + <Font>FreeSans-9:bold</Font> 1.53 + <Width>4</Width> 1.54 + <Height>24</Height> 1.55 + 1.56 + <Active> 1.57 + <Text>#cfcfcf</Text> 1.58 + <!-- <Title>#351a0a:#72320e</Title> --> 1.59 + <Title>#351a0a</Title> 1.60 + <Outline>#351a0a</Outline> 1.61 + <Opacity>1.0</Opacity> 1.62 + </Active> 1.63 + 1.64 + <Inactive> 1.65 + <Text>#bbbbbb</Text> 1.66 + <Title>#72320e</Title> 1.67 + <Corner>#aaaaaa</Corner> 1.68 + <Outline>#72320e</Outline> 1.69 + </Inactive> 1.70 + 1.71 + </WindowStyle> 1.72 + 1.73 + <TaskListStyle> 1.74 + <Font>FreeSans-11:bold</Font> 1.75 + <ActiveForeground>black</ActiveForeground> 1.76 + <ActiveBackground>gray80:gray90</ActiveBackground> 1.77 + <Foreground>black</Foreground> 1.78 + <Background>gray90:gray80</Background> 1.79 + </TaskListStyle> 1.80 + 1.81 + <!-- Additional TrayStyle attribute: insert --> 1.82 + <TrayStyle> 1.83 + <Font>FreeSans-11:bold</Font> 1.84 + <Background>gray90</Background> 1.85 + <Foreground>black</Foreground> 1.86 + <Opacity>0.75</Opacity> 1.87 + </TrayStyle> 1.88 + 1.89 + <PagerStyle> 1.90 + <Outline>black</Outline> 1.91 + <Foreground>gray90</Foreground> 1.92 + <Background>#808488</Background> 1.93 + <ActiveForeground>#70849d</ActiveForeground> 1.94 + <ActiveBackground>#2e3a67</ActiveBackground> 1.95 + </PagerStyle> 1.96 + 1.97 + <MenuStyle> 1.98 + <Font>FreeSans-12:bold</Font> 1.99 + <Foreground>black</Foreground> 1.100 + <Background>gray90</Background> 1.101 + <ActiveForeground>white</ActiveForeground> 1.102 + <ActiveBackground>#70849d:#2e3a67</ActiveBackground> 1.103 + <Opacity>0.85</Opacity> 1.104 + </MenuStyle> 1.105 + 1.106 + <PopupStyle> 1.107 + <Font>FreeSans-10</Font> 1.108 + <Outline>black</Outline> 1.109 + <Foreground>black</Foreground> 1.110 + <Background>yellow</Background> 1.111 + </PopupStyle> 1.112 + 1.113 + <IconPath> 1.114 + $HOME/Images/Icons 1.115 + </IconPath> 1.116 + <IconPath> 1.117 + /usr/share/pixmaps 1.118 + </IconPath> 1.119 + 1.120 + <!-- Virtual Desktops --> 1.121 + <!-- Desktop tags can be contained within Desktops for desktop names. --> 1.122 + <Desktops count="2"> 1.123 + 1.124 + <!-- Default background. Note that a Background tag can be 1.125 + contained within a Desktop tag to give a specific background 1.126 + for that desktop. 1.127 + --> 1.128 + <Background type="image">/usr/share/images/slitaz-background.jpg</Background> 1.129 + 1.130 + </Desktops> 1.131 + 1.132 + <!-- Startup and shutdown commands. --> 1.133 + <StartupCommand></StartupCommand> 1.134 + <ShutdownCommand> 1.135 + killall Xorg; clear; sleep 2; clear; echo "JWM exit OK. Press ENTER to continue... " 1.136 + </ShutdownCommand> 1.137 + 1.138 + <!-- Double click speed (in milliseconds) --> 1.139 + <DoubleClickSpeed>400</DoubleClickSpeed> 1.140 + 1.141 + <!-- Double click delta (in pixels) --> 1.142 + <DoubleClickDelta>2</DoubleClickDelta> 1.143 + 1.144 + <!-- The focus model (sloppy or click) --> 1.145 + <FocusModel>sloppy</FocusModel> 1.146 + 1.147 + <!-- The snap mode (none, screen, or border) --> 1.148 + <SnapMode distance="10">border</SnapMode> 1.149 + 1.150 + <!-- The move mode (outline or opaque) --> 1.151 + <MoveMode>opaque</MoveMode> 1.152 + 1.153 + <!-- The resize mode (outline or opaque) --> 1.154 + <ResizeMode>opaque</ResizeMode> 1.155 + 1.156 + <!-- Key bindings --> 1.157 + <Key key="Up">up</Key> 1.158 + <Key key="Down">down</Key> 1.159 + <Key key="Right">right</Key> 1.160 + <Key key="Left">left</Key> 1.161 + <Key key="h">left</Key> 1.162 + <Key key="j">down</Key> 1.163 + <Key key="k">up</Key> 1.164 + <Key key="l">right</Key> 1.165 + <Key key="Return">select</Key> 1.166 + <Key key="Escape">escape</Key> 1.167 + 1.168 + <Key mask="A" key="Tab">nextstacked</Key> 1.169 + <Key mask="A" key="F4">close</Key> 1.170 + <Key mask="A" key="#">desktop#</Key> 1.171 + <Key mask="A" key="F1">root:1</Key> 1.172 + <Key mask="A" key="F2">window</Key> 1.173 + 1.174 +</JWM> 1.175 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/node/receipt Tue Mar 06 14:17:35 2012 +0100 2.3 @@ -0,0 +1,29 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="node" 2.7 +VERSION="0.6.12" 2.8 +CATEGORY="network" 2.9 +SHORT_DESC="Node.js is a platform for easily building network applications." 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +TARBALL="$PACKAGE-v$VERSION.tar.gz" 2.12 +WEB_SITE="http://nodejs.org/" 2.13 +WGET_URL="http://nodejs.org/dist/v$VERSION/$TARBALL" 2.14 + 2.15 +DEPENDS="python libssl" 2.16 +BUILD_DEPENDS="python-dev openssl-dev" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + cd $src 2.22 + ./configure --prefix=/usr && 2.23 + make && make install 2.24 +} 2.25 + 2.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.27 +genpkg_rules() 2.28 +{ 2.29 + mkdir -p $fs/usr/lib 2.30 + cp -a $install/usr/bin $fs/usr 2.31 + cp -a $install/usr/lib/node* $fs/usr/lib 2.32 +}