wok diff xfce4-netload-plugin/receipt @ 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 (13 months ago)
parents
children 0bdce5989de3
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xfce4-netload-plugin/receipt	Sat Aug 17 16:58:59 2024 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xfce4-netload-plugin"
     1.7 +VERSION="1.2.4"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Netload plugin for the Xfce4 panel."
    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 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 +WGET_URL="https://archive.xfce.org/src/panel-plugins/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.16 +
    1.17 +SUGGESTED="xfce4-netload-plugin-lang"
    1.18 +DEPENDS="gdk-pixbuf gtk+ libxfcegui4 libxfce4ui startup-notification
    1.19 +	xcb-util xfce4-panel"
    1.20 +BUILD_DEPENDS="gdk-pixbuf-dev gtk+-dev libxfcegui4-dev libxfce4ui-dev
    1.21 +	pkg-config startup-notification-dev xcb-util-dev xfce4-panel-dev"
    1.22 +
    1.23 +# Rules to configure and make the package.
    1.24 +compile_rules()
    1.25 +{
    1.26 +	./configure		\
    1.27 +		--prefix=/usr	\
    1.28 +		--enable-nls &&
    1.29 +	make &&
    1.30 +	make install DESTDIR=$DESTDIR
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	cook_copy_folders	hicolor
    1.37 +	cook_copy_folders	panel-plugins
    1.38 +	cook_copy_folders	plugins
    1.39 +	rm -f			$fs/usr/lib/xfce4/panel/plugins/libnetload.la
    1.40 +}