wok rev 25724

added recipes for xfce4-netload-plugin and xfce4-netload-plugin-lang
author Hans-G?nter Theisgen
date Sat Aug 17 16:58:59 2024 +0100 (3 months ago)
parents 4e5d77dcfd78
children 0bdce5989de3
files xfce4-netload-plugin-lang/receipt xfce4-netload-plugin/description.txt xfce4-netload-plugin/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xfce4-netload-plugin-lang/receipt	Sat Aug 17 16:58:59 2024 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xfce4-netload-plugin-lang"
     1.7 +VERSION="1.2.4"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="Netload plugin for the Xfce4 panel - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://docs.xfce.org/panel-plugins/xfce4-netload-plugin/start"
    1.13 +
    1.14 +WANTED="xfce4-netload-plugin"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	cook_copy_folders	locale
    1.20 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xfce4-netload-plugin/description.txt	Sat Aug 17 16:58:59 2024 +0100
     2.3 @@ -0,0 +1,2 @@
     2.4 +This plugin displays the current load of the network interfaces
     2.5 +in the panel.
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/xfce4-netload-plugin/receipt	Sat Aug 17 16:58:59 2024 +0100
     3.3 @@ -0,0 +1,37 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="xfce4-netload-plugin"
     3.7 +VERSION="1.2.4"
     3.8 +CATEGORY="x-window"
     3.9 +SHORT_DESC="Netload plugin for the Xfce4 panel."
    3.10 +MAINTAINER="maintainer@slitaz.org"
    3.11 +LICENSE="GPL2"
    3.12 +WEB_SITE="https://docs.xfce.org/panel-plugins/xfce4-netload-plugin/start"
    3.13 +
    3.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.15 +WGET_URL="https://archive.xfce.org/src/panel-plugins/$PACKAGE/${VERSION%.*}/$TARBALL"
    3.16 +
    3.17 +SUGGESTED="xfce4-netload-plugin-lang"
    3.18 +DEPENDS="gdk-pixbuf gtk+ libxfcegui4 libxfce4ui startup-notification
    3.19 +	xcb-util xfce4-panel"
    3.20 +BUILD_DEPENDS="gdk-pixbuf-dev gtk+-dev libxfcegui4-dev libxfce4ui-dev
    3.21 +	pkg-config startup-notification-dev xcb-util-dev xfce4-panel-dev"
    3.22 +
    3.23 +# Rules to configure and make the package.
    3.24 +compile_rules()
    3.25 +{
    3.26 +	./configure		\
    3.27 +		--prefix=/usr	\
    3.28 +		--enable-nls &&
    3.29 +	make &&
    3.30 +	make install DESTDIR=$DESTDIR
    3.31 +}
    3.32 +
    3.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.34 +genpkg_rules()
    3.35 +{
    3.36 +	cook_copy_folders	hicolor
    3.37 +	cook_copy_folders	panel-plugins
    3.38 +	cook_copy_folders	plugins
    3.39 +	rm -f			$fs/usr/lib/xfce4/panel/plugins/libnetload.la
    3.40 +}