wok-6.x view lxnetdaemon/receipt @ rev 14064
shaarli: fix path + security fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 20 11:36:45 2013 +0100 (2013-02-20) |
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 }