wok-current view lxnetdaemon/receipt @ rev 11620

Up slitaz-boot-scripts (4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 24 11:48:19 2012 +0100 (2012-01-24)
parents d04823a784db
children 05abedfc8a12
line source
1 # SliTaz package receipt.
3 PACKAGE="lxnetdaemon"
4 VERSION="0.1.1"
5 CATEGORY="network"
6 SHORT_DESC="Network manager for LXpanel."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://lxde.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
11 DEPENDS="glib"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's/for script in .(datadir)/for script in _pkg\/$(datadir)/' \
18 Makefile.in
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
32 chmod +x $fs/usr/share/$PACKAGE/*.sh
33 # Config
34 cp -a stuff/lxnetdaemon.conf $fs/usr/share/lxnetdaemon
35 cp -a stuff/etc $fs
36 }