wok-next view diffutils/receipt @ rev 19051
Up wmctrl (c5c5eb8)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Mon Apr 18 14:40:48 2016 +0300 (2016-04-18) |
parents | 5922eeb8bfd6 |
children | c963361d3d54 |
line source
1 # SliTaz package receipt.
3 PACKAGE="diffutils"
4 VERSION="3.3"
5 CATEGORY="development"
6 SHORT_DESC="Show differences between two files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.gnu.org/software/diffutils/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's:= @mkdir_p@:= /bin/mkdir -p:' po/Makefile.in.in
18 ./configure --prefix=/usr $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr/bin $fs/usr
28 }
30 # Overlap busybox
31 pre_install()
32 {
33 rm -f "$1/usr/bin/diff"
34 rm -f "$1/usr/bin/cmp"
35 }
37 post_remove()
38 {
39 ln -s /bin/busybox "$1/usr/bin/diff"
40 ln -s /bin/busybox "$1/usr/bin/cmp"
41 }