wok view grsync/receipt @ rev 24099

Up openssh (8.7p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 16 08:39:38 2021 +0000 (2021-09-16)
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 }