wok-next view grsync/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="grsync"
4 VERSION="1.2.2"
5 CATEGORY="network"
6 SHORT_DESC="GTK+ intuitive interface to rsync"
7 MAINTAINER="devel@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 BUILD_DEPENDS="gtk2-dev xorg-xorgproto perl-xml-parser intltool"
16 compile_rules() {
17 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
18 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
20 chmod +x install-sh
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --disable-unity \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$install install
29 }
31 genpkg_rules() {
32 mkdir -p $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/grsync $fs/usr/share
35 sed -i s'|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/grsync-batch
36 chmod +x $fs/usr/bin/*
37 DEPENDS="gtk2 rsync xorg-libXdamage acl"
38 }