wok-current view grsync/receipt @ rev 25160

updated py3k-cython (0.29.13 -> 0.29.30)
author Hans-G?nter Theisgen
date Fri Jul 01 09:49:47 2022 +0100 (2022-07-01)
parents af8d823a3077
children
line source
1 # SliTaz package receipt.
3 PACKAGE="grsync"
4 VERSION="1.3.0"
5 CATEGORY="network"
6 SHORT_DESC="GTK+ intuitive interface to rsync."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.opbyte.it/grsync/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://www.opbyte.it/release/$TARBALL"
14 SUGGESTED="grsync-lang"
15 DEPENDS="acl gtk+ libxml2 rsync xorg-libXdamage"
16 BUILD_DEPENDS="gtk+-dev intltool libxml2-dev perl-xml-parser xorg-xproto"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - http://www.opbyte.it/grsync/download.html 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
29 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
30 chmod +x install-sh
32 ./configure \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --mandir=/usr/share/man \
36 --enable-gtk3=no \
37 --enable-unity=no \
38 $CONFIGURE_ARGS &&
39 make &&
40 make install DESTDIR=$DESTDIR
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/share
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/share/grsync $fs/usr/share
50 sed -i s'|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/grsync-batch
51 chmod +x $fs/usr/bin/*
52 }