wok view grsync/receipt @ rev 10698

winetricks: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 28 09:20:24 2011 +0200 (2011-05-28)
parents c74caf99e8ab
children af9a1b47948c
line source
1 # SliTaz package receipt.
3 PACKAGE="grsync"
4 VERSION="1.1.1"
5 CATEGORY="network"
6 SHORT_DESC="GTK+ intuitive interface to rsync."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ rsync xorg-libXdamage acl"
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 }