wok view grsync/receipt @ rev 4022

Fix: PolicyKit FSH --localstatedir=/var and genpkg_rules
author Christophe Lincoln <pankso@slitaz.org>
date Fri Sep 04 12:12:41 2009 +0200 (2009-09-04)
parents 8b79c3ee7ac2
children 5dc661fd9460
line source
1 # SliTaz package receipt.
3 PACKAGE="grsync"
4 VERSION="0.9.1"
5 CATEGORY="network"
6 SHORT_DESC="GTK+ intuitive interface to rsync."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ rsync xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev xorg-xproto perl-xml-parser intltool"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.opbyte.it/grsync/"
12 WGET_URL="http://www.opbyte.it/release/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 chmod +x install-sh
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/grsync $fs/usr/share
34 sed -i s'|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/grsync-batch
35 chmod +x $fs/usr/bin/*
36 }