wok-6.x view grsync/receipt @ rev 22176
linld: spare up to 30k more for zImage
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 08 20:55:40 2019 +0100 (2019-11-08) |
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 }