wok-6.x view grsync/receipt @ rev 465

Fix grsync-batch (use sh not bash)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 20 14:59:14 2008 +0100 (2008-03-20)
parents eb4e6a1af180
children c1ff74d9b6f4
line source
1 # SliTaz package receipt.
3 PACKAGE="grsync"
4 VERSION="0.6.1"
5 CATEGORY="network"
6 SHORT_DESC="GTK+ intuitive interface to rsync."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ rsync"
9 BUILD_DEPENDS="gtk+-dev"
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 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/locale
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/pixmaps $fs/usr/share/pixmaps
33 cp -a $_pkg/usr/share/locale/fr_FR $fs/usr/share/locale/fr
34 strip -s $fs/usr/bin/* 2>/dev/null
36 sed -i s'|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/grsync-batch
38 # Desktop entry
39 cp -a $_pkg/usr/share/applications $fs/usr/share
40 }