wok-6.x view lxnetdaemon/receipt @ rev 4490

Add xorg-xf86-video-v4l
author Rohit Joshi <jozee@slitaz.org>
date Wed Nov 18 12:40:58 2009 +0000 (2009-11-18)
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 }