wok view lxnetdaemon/receipt @ rev 9575
Up: xorg-fixesproto to 5.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Apr 12 11:16:48 2011 +0000 (2011-04-12) |
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 }