wok-6.x view lxnetdaemon/receipt @ rev 14164
nut: up 2.6.5
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Thu Mar 07 20:38:21 2013 -0800 (2013-03-07) |
parents | 04c44c43cca4 |
children | 2b9f96603415 |
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"
12 BUILD_DEPENDS="glib-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/for script in .(datadir)/for script in _pkg\/$(datadir)/' \
19 Makefile.in
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
33 chmod +x $fs/usr/share/$PACKAGE/*.sh
34 # Config
35 cp -a stuff/lxnetdaemon.conf $fs/usr/share/lxnetdaemon
36 cp -a stuff/etc $fs
37 }