SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "lxlauncher"

# SliTaz package receipt.

PACKAGE="lxlauncher"
VERSION="0.2.5"
CATEGORY="x-window"
TAGS="LXDE netbook"
SHORT_DESC="LXDE launcher for netbooks."
LICENSE="GPL3"
MAINTAINER="pankso@slitaz.org"
WEB_SITE="https://www.lxde.org/"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="$SF_MIRROR/lxde/$TARBALL"

DEPENDS="gnome-menus gtk+ menu-cache startup-notification \
    xorg-libX11 xorg-libXdamage"
BUILD_DEPENDS="gnome-menus gnome-menus-dev gtk+-dev libxcb-dev \
    menu-cache-dev startup-notification \
    startup-notification-dev xorg-libX11-dev"

current_version()
{
    wget -O - https://sourceforge.net/projects/lxde/files/LXLauncher%20%28for%20Asus%20EeePC%29/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
}

# Rules to configure and make the package.
compile_rules()
{
    #export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
    ## Fix infinite loop.
    #touch po/stamp-it
    ## Default icons to 32
    #sed -i s/'120'/'100'/ src/lxlauncher.c
    #sed -i s/'48'/'32'/ src/lxlauncher.c

    ./configure            \
        --prefix=/usr        \
        --sysconfdir=/etc    \
        $CONFIGURE_ARGS &&
    make -j 1 &&
    make DESTDIR=$DESTDIR install
}

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

    cp -a $install/usr/bin    $fs/usr

    # SliTaz home make config files
    cp -a $install/etc    $fs
    cp -a $stuff/gtkrc    $fs/etc/xdg/lxlauncher

    cp -a $install/usr/share/desktop-directories $fs/usr/share

    #cp -a $stuff/background $fs/usr/share/lxlauncher
    #background="internet learn play settings work"
    #for i in $background; do
    #    ln -sf slitaz.jpg $fs/usr/share/lxlauncher/background/accessibility_${i}_wallpaper.jpg
    #done

    chown -R root.root $fs
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)