wok-current view lxnetdaemon/receipt @ rev 10634

jdk6-*: fix receipt (if no files it must be a meta package)
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 26 23:47:17 2011 +0200 (2011-05-26)
parents d04823a784db
children 05abedfc8a12
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's/for script in .(datadir)/for script in _pkg\/$(datadir)/' \
18 Makefile.in
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
32 chmod +x $fs/usr/share/$PACKAGE/*.sh
33 # Config
34 cp -a stuff/lxnetdaemon.conf $fs/usr/share/lxnetdaemon
35 cp -a stuff/etc $fs
36 }