wok-4.x annotate grsync/receipt @ rev 203
Category network (internet tools)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 13 13:50:45 2008 +0100 (2008-02-13) |
parents | c26775a21b4c |
children | eb4e6a1af180 |
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" |
pankso@142 | 9 BUILD_DEPENDS="gtk+-dev" |
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" |
pascal@153 | 13 JWM_MENU='Utilities:<Program icon="grsync.png" label="Grsync">grsync</Program>' |
pankso@43 | 14 |
pankso@43 | 15 # Rules to configure and make the package. |
pankso@43 | 16 compile_rules() |
pankso@43 | 17 { |
pankso@43 | 18 cd $src |
pankso@142 | 19 ./configure \ |
pankso@142 | 20 --prefix=/usr \ |
pankso@142 | 21 --infodir=/usr/share/info \ |
pankso@142 | 22 --mandir=/usr/share/man \ |
pankso@142 | 23 $CONFIGURE_ARGS |
pankso@43 | 24 make |
pankso@43 | 25 make DESTDIR=$PWD/_pkg install |
pankso@43 | 26 } |
pankso@43 | 27 |
pankso@43 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 29 genpkg_rules() |
pankso@43 | 30 { |
pankso@43 | 31 mkdir -p $fs/usr/share/locale |
pankso@43 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@43 | 33 cp -a $_pkg/usr/share/pixmaps $fs/usr/share/pixmaps |
pankso@43 | 34 cp -a $_pkg/usr/share/locale/fr_FR $fs/usr/share/locale/fr |
pankso@142 | 35 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@157 | 36 # Desktop entry |
pankso@157 | 37 cp -a $_pkg/usr/share/applications $fs/usr/share |
pankso@43 | 38 } |