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