wok-next view lxnetdaemon/receipt @ rev 16341
Add slitaz-arm-rpi (only for ARM arch, hope i486 cooker will handle it)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 14:59:28 2014 +0200 (2014-04-12) |
parents | 2b9f96603415 |
children | 5841522533ec |
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 $DESTDIR/\$(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 }