wok-current annotate grsync/receipt @ rev 1465
update BUILD_DEPENDS in asunder clearlooks evas gcolor2 gnome-menus grsync intltool libiec61883 libwnck neon poedit portmap pycairo shared-mime-info tsclient xorg-libICE xorg-xload
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 04 09:01:05 2008 +0000 (2008-10-04) |
parents | 9d7bcbed6dde |
children | b238b352d513 |
rev | line source |
---|---|
pankso@43 | 1 # SliTaz package receipt. |
pankso@43 | 2 |
pankso@43 | 3 PACKAGE="grsync" |
pankso@142 | 4 VERSION="0.6.1" |
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 DEPENDS="gtk+ rsync" |
pascal@1465 | 9 BUILD_DEPENDS="gtk+-dev xorg-xproto perl-xml-parser" |
pankso@43 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@43 | 11 WEB_SITE="http://www.opbyte.it/grsync/" |
pankso@43 | 12 WGET_URL="http://www.opbyte.it/release/$TARBALL" |
pankso@43 | 13 |
pankso@43 | 14 # Rules to configure and make the package. |
pankso@43 | 15 compile_rules() |
pankso@43 | 16 { |
pankso@43 | 17 cd $src |
pankso@142 | 18 ./configure \ |
pankso@142 | 19 --prefix=/usr \ |
pankso@142 | 20 --infodir=/usr/share/info \ |
pankso@142 | 21 --mandir=/usr/share/man \ |
pascal@1465 | 22 $CONFIGURE_ARGS && |
pascal@1465 | 23 make && |
pankso@43 | 24 make DESTDIR=$PWD/_pkg install |
pankso@43 | 25 } |
pankso@43 | 26 |
pankso@43 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 28 genpkg_rules() |
pankso@43 | 29 { |
pankso@43 | 30 mkdir -p $fs/usr/share/locale |
pankso@43 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@43 | 32 cp -a $_pkg/usr/share/pixmaps $fs/usr/share/pixmaps |
pankso@43 | 33 cp -a $_pkg/usr/share/locale/fr_FR $fs/usr/share/locale/fr |
pankso@142 | 34 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@465 | 35 |
pankso@465 | 36 sed -i s'|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/grsync-batch |
pankso@465 | 37 |
pankso@157 | 38 # Desktop entry |
pankso@157 | 39 cp -a $_pkg/usr/share/applications $fs/usr/share |
pankso@43 | 40 } |