wok rev 11221

Add from wok-undigest: editobj enet ettercap fbpanel
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 03 23:13:21 2011 +0100 (2011-11-03)
parents e5b73f3c73d4
children b165a9b3b8c3
files editobj/receipt enet/receipt ettercap/receipt fbpanel/receipt fbpanel/stuff/default
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editobj/receipt	Thu Nov 03 23:13:21 2011 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="editobj"
     1.7 +SOURCE="EditObj2"
     1.8 +VERSION="0.4"
     1.9 +CATEGORY="x-window"
    1.10 +SHORT_DESC="Dialog box generator for Python objects."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://home.gna.org/oomadness/en/$PACKAGE/"
    1.14 +WGET_URL="http://download.gna.org/songwrite/$TARBALL"
    1.15 +
    1.16 +DEPENDS="python"
    1.17 +BUILD_DEPENDS="python"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	python ./setup.py install --root=$DESTDIR
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.27 +genpkg_rules()                                      
    1.28 +{
    1.29 +	cp -a $_pkg/usr/ $fs
    1.30 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/enet/receipt	Thu Nov 03 23:13:21 2011 +0100
     2.3 @@ -0,0 +1,28 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="enet"
     2.7 +VERSION="1.2.1"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="relatively thin, simple and robust network communication layer on top of UDP"
    2.10 +MAINTAINER="devl547@gmail.com"
    2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.12 +WEB_SITE="http://enet.bespin.org/"
    2.13 +WGET_URL="$WEB_SITE/download/$TARBALL"
    2.14 +
    2.15 +# Rules to configure and make the package.
    2.16 +compile_rules()
    2.17 +{
    2.18 +	cd $src
    2.19 +	./configure --prefix=/usr --infodir=/usr/share/info \
    2.20 +	--mandir=/usr/share/man --enable-crc32 $CONFIGURE_ARGS &&
    2.21 +	make &&
    2.22 +	make DESTDIR=$PWD/_pkg install
    2.23 +}
    2.24 +
    2.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.26 +genpkg_rules()
    2.27 +{
    2.28 +	mkdir -p $fs/usr/lib
    2.29 +	cp -a $_pkg/usr/lib/*a $fs/usr/lib
    2.30 +	cp -a $_pkg/usr/include $fs/usr
    2.31 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/ettercap/receipt	Thu Nov 03 23:13:21 2011 +0100
     3.3 @@ -0,0 +1,38 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="ettercap"
     3.7 +VERSION="NG-0.7.3"
     3.8 +CATEGORY="network"
     3.9 +SHORT_DESC="Ettercap is a suite for man in the middle attacks on LAN"
    3.10 +MAINTAINER="claudinei@slitaz.org"
    3.11 +DEPENDS="libpthread-stubs libpcap libnet libtool zlib"
    3.12 +BUILD_DEPENDS="libpthread-stubs libpcap libpcap-dev libnet-dev libtool zlib-dev"
    3.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.14 +WEB_SITE="http://ettercap.sourceforge.net"
    3.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.16 +
    3.17 +# Rules to configure and make the package.
    3.18 +compile_rules()
    3.19 +{
    3.20 +	cd $src
    3.21 +	sed -i 's/ettercap_LDFLAGS = -export-dynamic @EC_LIBS@/ettercap_LDADD += @EC_LIBS@\nettercap_LDFLAGS = -export-dynamic/' src/Makefile.*
    3.22 +	./configure \
    3.23 +		--prefix=/usr \
    3.24 +		--infodir=/usr/share/info \
    3.25 +		--mandir=/usr/share/man \
    3.26 +		--enable-plugins \
    3.27 +		--disable-gtk \
    3.28 +		$CONFIGURE_ARGS &&
    3.29 +	make && make DESTDIR=$DESTDIR install
    3.30 +}
    3.31 +
    3.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.33 +genpkg_rules()
    3.34 +{
    3.35 +	mkdir -p $fs/usr/share
    3.36 +	cp -a $_pkg/usr/bin $fs/usr
    3.37 +	cp -a $_pkg/usr/etc $fs
    3.38 +	cp -a $_pkg/usr/share/ettercap $fs/usr/share
    3.39 +	cp -a $_pkg/usr/lib $fs/usr
    3.40 +}
    3.41 +
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/fbpanel/receipt	Thu Nov 03 23:13:21 2011 +0100
     4.3 @@ -0,0 +1,30 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="fbpanel"
     4.7 +VERSION="6.1"
     4.8 +CATEGORY="x-window"
     4.9 +SHORT_DESC="Fbpanel is a lightweight GTK2-based panel for UNIX desktop."
    4.10 +MAINTAINER="pankso@slitaz.org"
    4.11 +DEPENDS="gtk+"
    4.12 +BUILD_DEPENDS="gtk+-dev"
    4.13 +TARBALL="$PACKAGE-$VERSION.tbz2"
    4.14 +WEB_SITE="http://fbpanel.sourceforge.net/"
    4.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    4.16 +
    4.17 +# Rules to configure and make the package.
    4.18 +compile_rules()
    4.19 +{
    4.20 +	cd $src
    4.21 +	./configure && make && make install
    4.22 +}
    4.23 +
    4.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.25 +genpkg_rules()
    4.26 +{
    4.27 +	mkdir -p $fs/usr
    4.28 +	cp -a $_pkg/usr/bin $fs/usr
    4.29 +	cp -a $_pkg/usr/lib $fs/usr
    4.30 +	cp -a $_pkg/usr/share $fs/usr
    4.31 +	# Custom config file
    4.32 +	cp -a $stuff/default $fs/usr/share/fbpanel
    4.33 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/fbpanel/stuff/default	Thu Nov 03 23:13:21 2011 +0100
     5.3 @@ -0,0 +1,398 @@
     5.4 +########################################
     5.5 +## fbpanel configuration file         ##
     5.6 +########################################
     5.7 +
     5.8 +
     5.9 +# DESCRIPTION
    5.10 +# Configuration file consists of mandatory 'Global' block that MUST come first,
    5.11 +# and optionally one or more 'Plugin' block.
    5.12 +# Lines having '#' as first non-blank char or blank lines are ignored
    5.13 +# Keywords are not case-sensitive
    5.14 +# Values are case-sensitive
    5.15 +# Value of variable is a text from first non-blank char after '='
    5.16 +# till the last non-blank char. '#' is NOT treated as coment in this context
    5.17 +
    5.18 +# 'Global' block describes global parameters like position, size and
    5.19 +# some NETWM settings
    5.20 +
    5.21 +# Global {
    5.22 +
    5.23 +#     # screen edge
    5.24 +#     # legal values are: left, right, top, bottom
    5.25 +#     edge = bottom
    5.26 +
    5.27 +#     # allignment of a panel
    5.28 +#     # legal values are: left, right, center
    5.29 +#     allign = left
    5.30 +
    5.31 +#     # length of margin (in pixels)
    5.32 +#     # legal values are numbers
    5.33 +#     margin = 0
    5.34 +
    5.35 +#     # widthtype specifies how panel width is calculated
    5.36 +#     # legal values are: request, pixel, percent
    5.37 +#     #   request - follow widgets' size requests. can shrink or grow dynamically
    5.38 +#     #   pixel   - occupy fixed number of pixels, then 'width' variable holds a number
    5.39 +#     #   percent - be 'width' precent of an edge.
    5.40 +#     widthType = percent
    5.41 +
    5.42 +#     # numerical value of width (not applicable for 'request' widthtype)
    5.43 +#     # legal values are numbers
    5.44 +#     width = 80
    5.45 +
    5.46 +#     # heighttype specifies how panel height is calculated
    5.47 +#     # legal values are: pixel
    5.48 +#     #   pixel   - ocupy fixed number of pixels, then 'height' variable holds a number
    5.49 +#     heightType = pixel
    5.50 +
    5.51 +#     # numerical value of height (if applicable)
    5.52 +#     # legal values are numbers
    5.53 +#     height = 28
    5.54 +
    5.55 +
    5.56 +#     # Identify panel window type as dock
    5.57 +#     # legal values are boolean
    5.58 +#     setDockType = true
    5.59 +
    5.60 +#     # Reserve panel's space so that it will not be covered by maximazied windows
    5.61 +#     # legal values are boolean
    5.62 +#     # setPartialStrut = true
    5.63 +
    5.64 +
    5.65 +#     # Transparency stuff:
    5.66 +#     # tintColor is a color to composite on root background given as #RRGGBB or as name
    5.67 +#     # alpha is transparency of the tint color.
    5.68 +#     # transparent = true
    5.69 +#     # tintColor = #FFFFFF
    5.70 +#         or
    5.71 +#     # tintColor = white
    5.72 +#     # alpha = 127
    5.73 +
    5.74 +#     # Autohide
    5.75 +#     # autoHide = false
    5.76 +#     # heightWhenHidden = 2
    5.77 +
    5.78 +# }
    5.79 +
    5.80 +
    5.81 +
    5.82 +# 'Plugin' block specifies a plugin to load. It has same syntax for both
    5.83 +# builtin and external plugins.
    5.84 +
    5.85 +# First parameter is 'type'. It's mandatory and must come first
    5.86 +# Legal values are plugin names. Names of builtin plugins are:
    5.87 +# separator   - visual separator
    5.88 +# wincmd      - 'show desktop' button
    5.89 +# taskbar     - lists all opened windows (tasks)
    5.90 +# launchbar   - bar with launch button
    5.91 +# image       - just shows an image
    5.92 +# dclock      - digital clock
    5.93 +# space       - just seize space
    5.94 +# pager       - thumbnailed view of the desktop
    5.95 +# tray        - tray for XEMBED icons (aka docklets)
    5.96 +
    5.97 +# expand - specifies if plugin can accomodate extra space or not [optional]
    5.98 +# padding - extra padding around plugin  [optional]
    5.99 +# config {} - block of plugin's private configuration.
   5.100 +#             This part is plugin  dependant
   5.101 +
   5.102 +
   5.103 +#
   5.104 +# Plugin {
   5.105 +#     type = wincmd
   5.106 +#     config {
   5.107 +#         image = ~/.fbpanel/images/Desktop2.png
   5.108 +#         tooltip = Left click to iconify all windows. Middle click to shade them.
   5.109 +#     }
   5.110 +# }
   5.111 +
   5.112 +
   5.113 +Global {
   5.114 +    edge = bottom
   5.115 +    allign = center
   5.116 +    margin = 0
   5.117 +    widthtype = percent
   5.118 +    width = 86
   5.119 +    height = 24
   5.120 +    transparent = true
   5.121 +    tintcolor = #ffffff
   5.122 +    alpha = 28
   5.123 +    setdocktype = true
   5.124 +    setpartialstrut = true
   5.125 +    autohide = false
   5.126 +    heightWhenHidden = 2
   5.127 +    roundcorners = true
   5.128 +    roundcornersradius = 7
   5.129 +    layer = none
   5.130 +    MaxElemHeight = 32
   5.131 +}
   5.132 +
   5.133 +
   5.134 +
   5.135 +Plugin {
   5.136 +    type = space
   5.137 +    config {
   5.138 +        size = 2
   5.139 +    }
   5.140 +}
   5.141 +
   5.142 +
   5.143 +Plugin {
   5.144 +    type = menu
   5.145 +    config {
   5.146 +        IconSize = 22
   5.147 +        #icon = start-here
   5.148 +        icon = logo
   5.149 +        systemmenu {
   5.150 +        }
   5.151 +        separator {
   5.152 +        }
   5.153 +	menu {  
   5.154 +	    name = Computer
   5.155 +	    icon = computer
   5.156 +            
   5.157 +	    item {
   5.158 +		name = Terminal
   5.159 +		icon = terminal
   5.160 +		action = x-terminal
   5.161 +	    }
   5.162 +            item {
   5.163 +                name = Lock Display
   5.164 +                icon = gnome-lockscreen
   5.165 +                action = slock
   5.166 +            }
   5.167 +            separator {
   5.168 +            }
   5.169 +            item {
   5.170 +                name = Reboot
   5.171 +                icon = gnome-session-reboot
   5.172 +                action = sudo reboot
   5.173 +            }
   5.174 +            item {
   5.175 +                name = Shutdown
   5.176 +                icon = gnome-session-halt
   5.177 +                action = sudo shutdown -h now
   5.178 +            }
   5.179 +            item {
   5.180 +                name = logout
   5.181 +                icon = gnome-session-logout
   5.182 +                action = /usr/libexec/fbpanel/xlogout
   5.183 +            }
   5.184 +        }
   5.185 +    }
   5.186 +}
   5.187 +
   5.188 +
   5.189 +
   5.190 +Plugin {
   5.191 +    type = space
   5.192 +    config {
   5.193 +        size = 15
   5.194 +    }
   5.195 +}
   5.196 +
   5.197 +
   5.198 +Plugin {
   5.199 +    type = launchbar
   5.200 +    config {
   5.201 +        button {
   5.202 +            icon = file-manager
   5.203 +            tooltip = File Manager
   5.204 +            action = x-file-manager
   5.205 +        }
   5.206 +        button {
   5.207 +            icon = terminal
   5.208 +            tooltip = Terminal
   5.209 +            action = x-terminal
   5.210 +        }
   5.211 +	button {
   5.212 +            icon = web-browser
   5.213 +            tooltip = Web Browser
   5.214 +            action = x-www-browser
   5.215 +    	}
   5.216 +    }
   5.217 +}
   5.218 +
   5.219 +Plugin {
   5.220 +    type = space
   5.221 +    config {
   5.222 +        size = 15
   5.223 +    }
   5.224 +}
   5.225 +
   5.226 +
   5.227 +Plugin {
   5.228 +    type = wincmd
   5.229 +    config {
   5.230 +        icon = gnome-fs-desktop
   5.231 +        tooltip = Left click to iconify all windows. Middle click to shade them.
   5.232 +    }
   5.233 +}
   5.234 +
   5.235 +
   5.236 +Plugin {
   5.237 +    type = space
   5.238 +    config {
   5.239 +        size = 15
   5.240 +    }
   5.241 +}
   5.242 +
   5.243 +
   5.244 +
   5.245 +Plugin {
   5.246 +    type = taskbar
   5.247 +    expand = true
   5.248 +    config {
   5.249 +        ShowIconified = true
   5.250 +        ShowMapped    = true
   5.251 +        ShowAllDesks  = false
   5.252 +        tooltips = true
   5.253 +        IconsOnly = false
   5.254 +        MaxTaskWidth = 150
   5.255 +    }
   5.256 +}
   5.257 +
   5.258 +
   5.259 +Plugin {
   5.260 +    type = space
   5.261 +	config {
   5.262 +	   size = 15
   5.263 +	}
   5.264 +}
   5.265 +
   5.266 +Plugin {
   5.267 +    type = pager
   5.268 +    config {
   5.269 +        showwallpaper = true
   5.270 +    }
   5.271 +}
   5.272 +
   5.273 +Plugin {
   5.274 +    type = space
   5.275 +    config {
   5.276 +        size = 10
   5.277 +    }
   5.278 +}
   5.279 +
   5.280 +Plugin {
   5.281 +    type = mem
   5.282 +    expand = false
   5.283 +    padding = 2
   5.284 +    config {
   5.285 +        ShowSwap = false
   5.286 +    }
   5.287 +}
   5.288 +
   5.289 +Plugin {
   5.290 +    type = cpu
   5.291 +    config {
   5.292 +        Color = green
   5.293 +    }
   5.294 +}
   5.295 +
   5.296 +Plugin {
   5.297 +    type = net
   5.298 +    expand = false
   5.299 +    padding = 0
   5.300 +    config {
   5.301 +        #interface = ppp0
   5.302 +        interface = eth0
   5.303 +        # set connection limits to make traffic graph more accurate
   5.304 +        TxLimit = 20
   5.305 +        RxLimit = 190
   5.306 +        TxColor = violet
   5.307 +        RxColor = blue
   5.308 +    }
   5.309 +}
   5.310 +
   5.311 +
   5.312 +Plugin {
   5.313 +    type = space
   5.314 +    config {
   5.315 +        size = 10
   5.316 +    }
   5.317 +}
   5.318 +
   5.319 +plugin {
   5.320 +    type = volume
   5.321 +}
   5.322 +
   5.323 +#plugin {
   5.324 +#    type = battery
   5.325 +#}
   5.326 +
   5.327 +Plugin {
   5.328 +    type = tray
   5.329 +}
   5.330 +
   5.331 +Plugin {
   5.332 +    type = space
   5.333 +    config {
   5.334 +        size = 10
   5.335 +    }
   5.336 +}
   5.337 +
   5.338 +# Digital Clock
   5.339 +Plugin {
   5.340 +    type = dclock
   5.341 +    config {
   5.342 +        ShowSeconds = false
   5.343 +        HoursView = 24
   5.344 +        TooltipFmt = %A %x
   5.345 +        #Action = xmessage Please define some command &
   5.346 +    }
   5.347 +}
   5.348 +
   5.349 +# Text Clock
   5.350 +# ClockFmt: (string) Clock format string.  May contain strftime conversion
   5.351 +#           specifications and Pango markup information.
   5.352 +# TooltipFmt: (string) Tooltip format string.
   5.353 +# Action: (string) Shell command to execute when clock is clicked.
   5.354 +# ShowCalendar: (boolean) Show a GTK calendar widget when the clock is
   5.355 +#               clicked.  Only valid if Action is unset.
   5.356 +# ShowTooltip: (boolean) Show tooltip for clock.
   5.357 +#Plugin {
   5.358 +#    type = tclock
   5.359 +#    config {
   5.360 +#        ClockFmt = <b>%I:%M</b>
   5.361 +#        # 2 line view, time in bold above and date below
   5.362 +#        # ClockFmt = <span font="Sans 8"><b>%-l:%M</b> %P&#xA;%a %B %-e</span>
   5.363 +#        TooltipFmt = %A %x
   5.364 +#        #Action = xmessage Please define some command &
   5.365 +#        ShowCalendar = false
   5.366 +#        ShowTooltip = true
   5.367 +#    }
   5.368 +#}
   5.369 +
   5.370 +# 'icons' plugin lets you customize window icons.
   5.371 +# these changes apply to entire desktop
   5.372 +Plugin {
   5.373 +    type = icons
   5.374 +    config {
   5.375 +        DefaultIcon = /usr/share/fbpanel/images/default.xpm
   5.376 +        application {
   5.377 +            icon = gnome-terminal
   5.378 +            ClassName = XTerm
   5.379 +        }
   5.380 +        application {
   5.381 +            icon = gnome-terminal
   5.382 +            ClassName = mlterm
   5.383 +        }
   5.384 +        application {
   5.385 +            icon = gnome-terminal
   5.386 +            ClassName = URxvt
   5.387 +        }
   5.388 +        application {
   5.389 +            icon = gnome-emacs
   5.390 +            ClassName = Emacs
   5.391 +        }
   5.392 +        application {
   5.393 +            icon = mozilla-firefox
   5.394 +            ClassName = Firefox-bin
   5.395 +        }
   5.396 +        application {
   5.397 +            icon = mozilla-firefox
   5.398 +            ClassName = Firefox
   5.399 +        }
   5.400 +    }
   5.401 +}