wok-current view lxnetdaemon/receipt @ rev 18008

cantarell-fonts: up (0.0.16)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 30 02:02:34 2015 +0300 (2015-04-30)
parents 2b9f96603415
children 7dd01dedad38
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 }