wok annotate lxnetdaemon/receipt @ rev 13798

Fix: libdrm version (2.4.34->2.4.40)
author Alexander Medvedev <devl547@gmail.com>
date Sun Jan 06 04:25:57 2013 +0300 (2013-01-06)
parents 04c44c43cca4
children 2b9f96603415
rev   line source
pankso@487 1 # SliTaz package receipt.
pankso@487 2
pankso@487 3 PACKAGE="lxnetdaemon"
pankso@487 4 VERSION="0.1.1"
pankso@487 5 CATEGORY="network"
pankso@487 6 SHORT_DESC="Network manager for LXpanel."
pankso@487 7 MAINTAINER="pankso@slitaz.org"
pankso@487 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@487 9 WEB_SITE="http://lxde.sourceforge.net/"
pankso@487 10 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
pascal@2474 11 DEPENDS="glib"
pascal@12581 12 BUILD_DEPENDS="glib-dev"
pankso@487 13
pankso@487 14 # Rules to configure and make the package.
pankso@487 15 compile_rules()
pankso@487 16 {
pankso@487 17 cd $src
pascal@2505 18 sed -i 's/for script in .(datadir)/for script in _pkg\/$(datadir)/' \
pascal@2505 19 Makefile.in
pankso@487 20 ./configure \
pankso@487 21 --prefix=/usr \
pascal@2474 22 $CONFIGURE_ARGS &&
pascal@2474 23 make &&
pankso@487 24 make DESTDIR=$PWD/_pkg install
pankso@487 25 }
pankso@487 26
pankso@487 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@487 28 genpkg_rules()
pankso@487 29 {
pankso@487 30 mkdir -p $fs/usr/share
pankso@487 31 cp -a $_pkg/usr/bin $fs/usr
pankso@487 32 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
pankso@487 33 chmod +x $fs/usr/share/$PACKAGE/*.sh
pankso@487 34 # Config
pankso@487 35 cp -a stuff/lxnetdaemon.conf $fs/usr/share/lxnetdaemon
pankso@487 36 cp -a stuff/etc $fs
pankso@487 37 }