wok-current view grsync/receipt @ rev 13708

Add mtdev
author Richard Dunbar <mojo@slitaz.org>
date Mon Dec 17 13:53:22 2012 +0000 (2012-12-17)
parents 80d73b3d87a2
children 380ffe05937a
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.opbyte.it/grsync/"
10 WGET_URL="http://www.opbyte.it/release/$TARBALL"
12 DEPENDS="gtk+ rsync xorg-libXdamage acl"
13 BUILD_DEPENDS="gtk+-dev xorg-xproto perl-xml-parser intltool"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
19 export LDFLAGS="-Wl,--copy-dt-needed-entries"
20 cd $src
21 chmod +x install-sh
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --disable-unity \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/grsync $fs/usr/share
38 sed -i s'|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/grsync-batch
39 chmod +x $fs/usr/bin/*
40 }