wok-6.x annotate grsync/receipt @ rev 10402
remove udev-light (no sense now)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 24 03:16:38 2011 +0200 (2011-05-24) |
parents | c74caf99e8ab |
children | af9a1b47948c |
rev | line source |
---|---|
pankso@43 | 1 # SliTaz package receipt. |
pankso@43 | 2 |
pankso@43 | 3 PACKAGE="grsync" |
slaxemulator@6290 | 4 VERSION="1.1.1" |
pankso@203 | 5 CATEGORY="network" |
pankso@43 | 6 SHORT_DESC="GTK+ intuitive interface to rsync." |
pankso@43 | 7 MAINTAINER="pankso@slitaz.org" |
paul@4435 | 8 DEPENDS="gtk+ rsync xorg-libXdamage acl" |
pankso@3606 | 9 BUILD_DEPENDS="gtk+-dev xorg-xproto perl-xml-parser intltool" |
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@3606 | 18 chmod +x install-sh |
pankso@142 | 19 ./configure \ |
pankso@142 | 20 --prefix=/usr \ |
pankso@142 | 21 --infodir=/usr/share/info \ |
pankso@142 | 22 --mandir=/usr/share/man \ |
pascal@1465 | 23 $CONFIGURE_ARGS && |
pascal@1465 | 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 { |
paul@4435 | 31 mkdir -p $fs/usr/share |
paul@4435 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@3606 | 33 cp -a $_pkg/usr/share/grsync $fs/usr/share |
paul@4435 | 34 sed -i s'|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/grsync-batch |
pankso@3606 | 35 chmod +x $fs/usr/bin/* |
pankso@43 | 36 } |
slaxemulator@6394 | 37 |