SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xfce4-panel"

# SliTaz package receipt.

PACKAGE="xfce4-panel"
VERSION="4.12.0"
CATEGORY="x-window"
SHORT_DESC="Xfce Panel"
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://www.xfce.org/"
WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"

DEPENDS="libxfce4util libxfce4ui libexo libwnck garcon util-linux-uuid dbus-glib"
BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev libwnck-dev cairo-dev garcon-dev
 xorg-libXext-dev xorg-xextproto dbus-glib-dev util-linux-uuid-dev intltool exo xfconf-dev
 libxml2-dev xcb-util-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
    sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
    sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{

    cd $src
    ./configure --prefix=/usr \
    --sysconfdir=/etc \
    --disable-debug \
    --mandir=/usr/share/man $CONFIGURE_ARGS && \
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr \
        $fs/usr/share/locale \
        $fs/usr/share/xfce4 \
        $fs/usr/lib/xfce4/panel/plugins 
    
    cp -a $install/etc $fs    
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib/*.so* $fs/usr/lib
    cp -a $install/usr/lib/xfce4/panel/plugins/*.so* $fs/usr/lib/xfce4/panel/plugins
    cp -a $install/usr/lib/xfce4/panel/migrate $fs/usr/lib/xfce4/panel
    cp -a $install/usr/lib/xfce4/panel/wrapper-1.0 $fs/usr/lib/xfce4/panel
    cp -a $install/usr/share/applications $fs/usr/share
    cp -a $install/usr/share/icons $fs/usr/share
    cp -a $install/usr/share/xfce4 $fs/usr/share
    
    # Strip evrythings
    find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;

}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)