wok-6.x view diffutils/receipt @ rev 13025
clucene-dev, clucene, drupal, fcitx-skin-default, fcitx-zm, gejengel, hd2u, input-utils, jdk6-jaf, jdk6-jaxp, jdk6-jaxws, kismet, libedit-dev, libedit, linux-module-headers, linux-ocfs2, linux-staging, linux64-ocfs2, linux64-staging, menu-railroad, nfs-utils, ode-dev, openjdk-6-src, runcom, talloc-python, vlc-plugin, xorg-xf86-video-neomagic: fix maintainer
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 11 17:36:31 2012 +0200 (2012-06-11) |
parents | b90843fa3804 |
children | eb8067417980 |
line source
1 # SliTaz package receipt.
3 PACKAGE="diffutils"
4 VERSION="3.2"
5 CATEGORY="development"
6 SHORT_DESC="Show differences between two files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/diffutils/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr $CONFIGURE_ARGS &&
17 make &&
18 make DESTDIR=$DESTDIR install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr
25 cp -a $_pkg/usr/bin $fs/usr
26 }
28 # Overlap busybox
29 pre_install()
30 {
31 rm -f $1/usr/bin/diff
32 rm -f $1/usr/bin/cmp
33 }
35 post_remove()
36 {
37 ln -s /bin/busybox $1/usr/bin/diff
38 ln -s /bin/busybox $1/usr/bin/cmp
39 }