wok annotate grsync/receipt @ rev 23979
xvkbd: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 18 09:50:51 2020 +0000 (2020-11-18) |
parents | 17e313b5b9c1 |
children | af8d823a3077 |
rev | line source |
---|---|
pankso@43 | 1 # SliTaz package receipt. |
pankso@43 | 2 |
pankso@43 | 3 PACKAGE="grsync" |
Hans-G?nter@22881 | 4 VERSION="1.2.6" |
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@22881 | 9 WEB_SITE="http://www.opbyte.it/grsync/" |
Hans-G?nter@22881 | 10 |
pankso@43 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@43 | 12 WGET_URL="http://www.opbyte.it/release/$TARBALL" |
pankso@43 | 13 |
Hans-G?nter@22881 | 14 DEPENDS="acl gtk+ rsync xorg-libXdamage" |
Hans-G?nter@22881 | 15 BUILD_DEPENDS="gtk+-dev intltool perl-xml-parser xorg-xproto" |
pankso@13631 | 16 |
pankso@43 | 17 # Rules to configure and make the package. |
pankso@43 | 18 compile_rules() |
pankso@43 | 19 { |
pankso@13631 | 20 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@17670 | 21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pankso@3606 | 22 chmod +x install-sh |
Hans-G?nter@22881 | 23 |
Hans-G?nter@22881 | 24 ./configure \ |
Hans-G?nter@22881 | 25 --prefix=/usr \ |
Hans-G?nter@22881 | 26 --infodir=/usr/share/info \ |
Hans-G?nter@22881 | 27 --mandir=/usr/share/man \ |
Hans-G?nter@22881 | 28 --disable-unity \ |
pascal@1465 | 29 $CONFIGURE_ARGS && |
pascal@1465 | 30 make && |
slaxemulator@11645 | 31 make DESTDIR=$DESTDIR install |
pankso@43 | 32 } |
pankso@43 | 33 |
pankso@43 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 35 genpkg_rules() |
pankso@43 | 36 { |
slaxemulator@11645 | 37 mkdir -p $fs/usr/share |
Hans-G?nter@22881 | 38 |
Hans-G?nter@22881 | 39 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22881 | 40 cp -a $install/usr/share/grsync $fs/usr/share |
Hans-G?nter@22881 | 41 sed -i s'|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/grsync-batch |
pankso@3606 | 42 chmod +x $fs/usr/bin/* |
pankso@43 | 43 } |