wok-stable view grsync/receipt @ rev 2273
udev: fix writing rules (net + cd)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 18 15:31:33 2009 +0100 (2009-02-18) |
parents | c1ff74d9b6f4 |
children | 8b79c3ee7ac2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="grsync"
4 VERSION="0.6.2"
5 CATEGORY="network"
6 SHORT_DESC="GTK+ intuitive interface to rsync."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ rsync"
9 BUILD_DEPENDS="gtk+-dev xorg-xproto perl-xml-parser"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.opbyte.it/grsync/"
12 WGET_URL="http://www.opbyte.it/release/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/locale
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/pixmaps $fs/usr/share/pixmaps
33 cp -a $_pkg/usr/share/locale/fr_FR $fs/usr/share/locale/fr
34 strip -s $fs/usr/bin/* 2>/dev/null
36 sed -i s'|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/grsync-batch
38 # Desktop entry
39 cp -a $_pkg/usr/share/applications $fs/usr/share
40 }