wok view grsync/receipt @ rev 16504
Fix tcl build on ARM and add tcllib
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 24 03:51:21 2014 +0200 (2014-04-24) |
parents | b0f28f14f48e |
children | 17e313b5b9c1 |
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="-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 }