# SliTaz package receipt. PACKAGE="grsync" VERSION="1.2.1" CATEGORY="network" SHORT_DESC="GTK+ intuitive interface to rsync." MAINTAINER="pankso@slitaz.org" DEPENDS="gtk+ rsync xorg-libXdamage acl" BUILD_DEPENDS="gtk+-dev xorg-xproto perl-xml-parser intltool" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.opbyte.it/grsync/" WGET_URL="http://www.opbyte.it/release/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src chmod +x install-sh ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --disable-unity \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/share/grsync $fs/usr/share sed -i s'|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/grsync-batch chmod +x $fs/usr/bin/* }