wok annotate xfce4-panel/receipt @ rev 24482

updated diffutils (3.7 -> 3.8)
author Hans-G?nter Theisgen
date Fri Feb 18 14:45:09 2022 +0100 (2022-02-18)
parents 251c25e029b0
children bd7510903310
rev   line source
erjo@2073 1 # SliTaz package receipt.
erjo@2073 2
erjo@2073 3 PACKAGE="xfce4-panel"
erkan@22419 4 VERSION="4.12.0"
erjo@2073 5 CATEGORY="x-window"
erjo@2073 6 SHORT_DESC="Xfce Panel"
erjo@2073 7 MAINTAINER="erjo@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
erjo@2073 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20669 10 WEB_SITE="https://www.xfce.org/"
slaxemulator@8289 11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@2073 12
pankso@12481 13 DEPENDS="libxfce4util libxfce4ui libexo libwnck garcon util-linux-uuid dbus-glib"
erjo@9873 14 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev libwnck-dev cairo-dev garcon-dev
erjo@14824 15 xorg-libXext-dev xorg-xextproto dbus-glib-dev util-linux-uuid-dev intltool exo xfconf-dev
pascal@19749 16 libxml2-dev xcb-util-dev"
erjo@9873 17
pascal@24415 18 # What is the latest version available today?
pascal@24415 19 current_version()
pascal@24415 20 {
pascal@24415 21 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
pascal@24415 22 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
pascal@24415 23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 24 }
pascal@24415 25
erjo@2073 26 # Rules to configure and make the package.
erjo@2073 27 compile_rules()
erjo@2073 28 {
erjo@5849 29
erjo@2073 30 cd $src
erjo@2073 31 ./configure --prefix=/usr \
erjo@2073 32 --sysconfdir=/etc \
erjo@2073 33 --disable-debug \
erjo@2073 34 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@14824 35 make && make install
erjo@2073 36 }
erjo@2073 37
erjo@2073 38 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2073 39 genpkg_rules()
erjo@2073 40 {
erjo@2073 41 mkdir -p $fs/usr \
erjo@2073 42 $fs/usr/share/locale \
erjo@2073 43 $fs/usr/share/xfce4 \
erjo@8022 44 $fs/usr/lib/xfce4/panel/plugins
erjo@2073 45
erjo@14824 46 cp -a $install/etc $fs
erjo@14824 47 cp -a $install/usr/bin $fs/usr
erjo@14824 48 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@14824 49 cp -a $install/usr/lib/xfce4/panel/plugins/*.so* $fs/usr/lib/xfce4/panel/plugins
erjo@14824 50 cp -a $install/usr/lib/xfce4/panel/migrate $fs/usr/lib/xfce4/panel
devl547@16300 51 cp -a $install/usr/lib/xfce4/panel/wrapper-1.0 $fs/usr/lib/xfce4/panel
erjo@14824 52 cp -a $install/usr/share/applications $fs/usr/share
erjo@14824 53 cp -a $install/usr/share/icons $fs/usr/share
erjo@14824 54 cp -a $install/usr/share/xfce4 $fs/usr/share
erjo@4876 55
erjo@4876 56 # Strip evrythings
erjo@4876 57 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
erjo@4876 58
erjo@2073 59 }
erjo@2073 60