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