wok-current view lxnetdaemon/receipt @ rev 14999
Add GPL3 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 13:52:56 2013 +0000 (2013-08-10) |
parents | 05abedfc8a12 |
children | bb571e1e341c |
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 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://lxde.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
13 DEPENDS="glib"
14 BUILD_DEPENDS="glib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/for script in .(datadir)/for script in _pkg\/$(datadir)/' \
21 Makefile.in
22 ./configure \
23 --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/$PACKAGE $fs/usr/share
35 chmod +x $fs/usr/share/$PACKAGE/*.sh
36 # Config
37 cp -a stuff/lxnetdaemon.conf $fs/usr/share/lxnetdaemon
38 cp -a stuff/etc $fs
39 }