SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "lxnetdaemon"

# SliTaz package receipt.

PACKAGE="lxnetdaemon"
VERSION="0.1.1"
CATEGORY="network"
SHORT_DESC="Network manager for LXpanel."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL3"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://lxde.sourceforge.net/"
WGET_URL="$SF_MIRROR/lxde/$TARBALL"

DEPENDS="glib"
BUILD_DEPENDS="glib-dev"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    sed -i "s|for script in .(datadir)|for script in $DESTDIR/\$(datadir)|" \
        Makefile.in
    ./configure \
        --prefix=/usr \
        $CONFIGURE_ARGS &&
    make &&
    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
    cp -a $install/usr/share/$PACKAGE $fs/usr/share
    chmod +x $fs/usr/share/$PACKAGE/*.sh
    # Config
    cp -a stuff/lxnetdaemon.conf $fs/usr/share/lxnetdaemon
    cp -a stuff/etc $fs
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)