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"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://lxde.sourceforge.net/"
WGET_URL="$SF_MIRROR/lxde/$TARBALL"
DEPENDS="glib"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    sed -i 's/for script in .(datadir)/for script in _pkg\/$(datadir)/' \
        Makefile.in
    ./configure \
        --prefix=/usr \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/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
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)