wok view grsync/receipt @ rev 18115
glib-dev,qcad: clean files.list.lzma, fix overwriting(for what?) get-scripts $depends
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Jun 06 21:23:13 2015 +0200 (2015-06-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 }