wok annotate 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
rev   line source
Hans-Günter@25724 1 # SliTaz package receipt.
Hans-Günter@25724 2
Hans-Günter@25724 3 PACKAGE="xfce4-netload-plugin"
Hans-Günter@25724 4 VERSION="1.2.4"
Hans-Günter@25724 5 CATEGORY="x-window"
Hans-Günter@25724 6 SHORT_DESC="Netload plugin for the Xfce4 panel."
Hans-Günter@25724 7 MAINTAINER="maintainer@slitaz.org"
Hans-Günter@25724 8 LICENSE="GPL2"
Hans-Günter@25724 9 WEB_SITE="https://docs.xfce.org/panel-plugins/xfce4-netload-plugin/start"
Hans-Günter@25724 10
Hans-Günter@25724 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-Günter@25724 12 WGET_URL="https://archive.xfce.org/src/panel-plugins/$PACKAGE/${VERSION%.*}/$TARBALL"
Hans-Günter@25724 13
Hans-Günter@25724 14 SUGGESTED="xfce4-netload-plugin-lang"
Hans-Günter@25724 15 DEPENDS="gdk-pixbuf gtk+ libxfcegui4 libxfce4ui startup-notification
Hans-Günter@25724 16 xcb-util xfce4-panel"
Hans-Günter@25724 17 BUILD_DEPENDS="gdk-pixbuf-dev gtk+-dev libxfcegui4-dev libxfce4ui-dev
Hans-Günter@25724 18 pkg-config startup-notification-dev xcb-util-dev xfce4-panel-dev"
Hans-Günter@25724 19
Hans-Günter@25724 20 # Rules to configure and make the package.
Hans-Günter@25724 21 compile_rules()
Hans-Günter@25724 22 {
Hans-Günter@25724 23 ./configure \
Hans-Günter@25724 24 --prefix=/usr \
Hans-Günter@25724 25 --enable-nls &&
Hans-Günter@25724 26 make &&
Hans-Günter@25724 27 make install DESTDIR=$DESTDIR
Hans-Günter@25724 28 }
Hans-Günter@25724 29
Hans-Günter@25724 30 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-Günter@25724 31 genpkg_rules()
Hans-Günter@25724 32 {
Hans-Günter@25724 33 cook_copy_folders hicolor
Hans-Günter@25724 34 cook_copy_folders panel-plugins
Hans-Günter@25724 35 cook_copy_folders plugins
Hans-Günter@25724 36 rm -f $fs/usr/lib/xfce4/panel/plugins/libnetload.la
Hans-Günter@25724 37 }