SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "thunar"

# SliTaz package receipt.

PACKAGE="thunar"
VERSION="1.3.0"
CATEGORY="x-window"
SHORT_DESC="Thunar File Manager"
MAINTAINER="erjo@slitaz.org"
SOURCE="Thunar"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://www.xfce.org"
WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
TAGS="file-manager file-browser"

DEPENDS="libpng jpeg libxfce4util dbus libexo xfce4-panel \
pcre libexif libgudev gamin libxfce4ui startup-notification util-linux-ng-uuid"
BUILD_DEPENDS="libpng-dev jpeg-dev libxfce4util-dev dbus-dev xcb-util-dev \
 libexo-dev xfce4-panel-dev zlib-dev intltool libgudev-dev libxfce4ui-dev \
 startup-notification-dev util-linux-ng-uuid-dev dbus-glib-dev"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure --prefix=/usr \
        --sysconfdir=/etc \
        --enable-dbus \
        --enable-startup-notification \
        --enable-notifications \
        --enable-gudev \
        --libexecdir=/usr/lib \
        --enable-debug=no \
        $CONFIGURE_ARGS && \
    make && make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    
    mkdir -p $fs/usr \
        $fs/usr/share/locale \
        $fs/usr/lib/thunarx-2

    cp -a $_pkg/etc $fs/
    cp -a $_pkg/usr/bin $fs/usr
    
    cp -a $_pkg/usr/lib/Thunar $fs/usr/lib
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    cp -a $_pkg/usr/lib/xfce4 $fs/usr/lib
    cp -a $_pkg/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
    
    
    cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    cp -a $_pkg/usr/share/applications $fs/usr/share
    cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
    cp -a $_pkg/usr/share/icons $fs/usr/share
    cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    cp -a $_pkg/usr/share/Thunar $fs/usr/share
    cp -a $_pkg/usr/share/xfce4 $fs/usr/share
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)