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