wok-current view grsync/receipt @ rev 24064
Fix mailsync
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 12 11:07:34 2021 +0000 (2021-06-12) |
parents | 17e313b5b9c1 |
children | af8d823a3077 |
line source
1 # SliTaz package receipt.
3 PACKAGE="grsync"
4 VERSION="1.2.6"
5 CATEGORY="network"
6 SHORT_DESC="GTK+ intuitive interface to rsync."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.opbyte.it/grsync/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.opbyte.it/release/$TARBALL"
14 DEPENDS="acl gtk+ rsync xorg-libXdamage"
15 BUILD_DEPENDS="gtk+-dev intltool perl-xml-parser xorg-xproto"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
22 chmod +x install-sh
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 --disable-unity \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/grsync $fs/usr/share
41 sed -i s'|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/grsync-batch
42 chmod +x $fs/usr/bin/*
43 }