wok view grsync/receipt @ rev 25717
xfce4-session: remove files belonging to xfce4-session-dev
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 15 09:23:33 2024 +0100 (2 months ago) |
parents | ddc3cc7ce280 |
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 - $WEB_SITE 2>/dev/null | \
22 sed '/New version/!d;s|>New|>\nNew|g' | sed '/^New/!d;s|New version ||;s|<.*||;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 }