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

Up: glibc (2.10.1) - Use the last stable release
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 24 12:19:32 2009 +0200 (2009-05-24)
parents b238b352d513
children 3ef0eab3de81
line source
1 # SliTaz package receipt.
3 PACKAGE="grsync"
4 VERSION="0.6.2"
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"
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 }