wok-next view grsync/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | f99935f1778a |
children | d5aab818505e |
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="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 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=$DESTDIR 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 }