wok view grsync/receipt @ rev 6914

Added xz to busybox. Doesn't change size of busybox. This is show we can use tar.xz compress for tazpkg files if we want to. Added pre_install and post_remove functions to xz receipt.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 21 23:49:16 2010 +0000 (2010-10-21)
parents c74caf99e8ab
children af9a1b47948c
line source
1 # SliTaz package receipt.
3 PACKAGE="grsync"
4 VERSION="1.1.1"
5 CATEGORY="network"
6 SHORT_DESC="GTK+ intuitive interface to rsync."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ rsync xorg-libXdamage acl"
9 BUILD_DEPENDS="gtk+-dev xorg-xproto perl-xml-parser intltool"
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 chmod +x install-sh
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/grsync $fs/usr/share
34 sed -i s'|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/grsync-batch
35 chmod +x $fs/usr/bin/*
36 }