wok-next view lxnetdaemon/receipt @ rev 1564

vanessa_adt: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 13 14:51:37 2008 +0000 (2008-10-13)
parents
children d04823a784db
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"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 echo "Continue..."
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
30 chmod +x $fs/usr/share/$PACKAGE/*.sh
31 # Config
32 cp -a stuff/lxnetdaemon.conf $fs/usr/share/lxnetdaemon
33 cp -a stuff/etc $fs
34 }