wok-current annotate grsync/receipt @ rev 25590

Update cacerts, up elfutils url, fix pkg-config, py3k rebuild, and xorg build with gcc 6
author Stanislas Leduc <shann@slitaz.org>
date Thu Aug 24 14:03:59 2023 +0000 (16 months ago)
parents af8d823a3077
children
rev   line source
pankso@43 1 # SliTaz package receipt.
pankso@43 2
pankso@43 3 PACKAGE="grsync"
Hans-G?nter@24625 4 VERSION="1.3.0"
pankso@203 5 CATEGORY="network"
pankso@43 6 SHORT_DESC="GTK+ intuitive interface to rsync."
pankso@43 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
Hans-G?nter@24625 9 WEB_SITE="https://www.opbyte.it/grsync/"
Hans-G?nter@22881 10
pankso@43 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24625 12 WGET_URL="https://www.opbyte.it/release/$TARBALL"
pankso@43 13
Hans-G?nter@24625 14 SUGGESTED="grsync-lang"
Hans-G?nter@24625 15 DEPENDS="acl gtk+ libxml2 rsync xorg-libXdamage"
Hans-G?nter@24625 16 BUILD_DEPENDS="gtk+-dev intltool libxml2-dev perl-xml-parser xorg-xproto"
pankso@13631 17
pascal@24445 18 # What is the latest version available today?
pascal@24445 19 current_version()
pascal@24445 20 {
pascal@24445 21 wget -O - http://www.opbyte.it/grsync/download.html 2>/dev/null | \
pascal@24445 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24445 23 }
pascal@24445 24
pankso@43 25 # Rules to configure and make the package.
pankso@43 26 compile_rules()
pankso@43 27 {
pankso@13631 28 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@17670 29 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
pankso@3606 30 chmod +x install-sh
Hans-G?nter@22881 31
Hans-G?nter@22881 32 ./configure \
Hans-G?nter@22881 33 --prefix=/usr \
Hans-G?nter@22881 34 --infodir=/usr/share/info \
Hans-G?nter@22881 35 --mandir=/usr/share/man \
Hans-G?nter@24625 36 --enable-gtk3=no \
Hans-G?nter@24625 37 --enable-unity=no \
pascal@1465 38 $CONFIGURE_ARGS &&
pascal@1465 39 make &&
Hans-G?nter@24625 40 make install DESTDIR=$DESTDIR
pankso@43 41 }
pankso@43 42
pankso@43 43 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@43 44 genpkg_rules()
pankso@43 45 {
slaxemulator@11645 46 mkdir -p $fs/usr/share
Hans-G?nter@22881 47
Hans-G?nter@22881 48 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22881 49 cp -a $install/usr/share/grsync $fs/usr/share
Hans-G?nter@22881 50 sed -i s'|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/grsync-batch
Hans-G?nter@24625 51 chmod +x $fs/usr/bin/*
pankso@43 52 }