wok view sed/receipt @ rev 21875

gc: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 28 16:04:52 2019 +0200 (2019-09-28)
parents 089e31a4281c
children a4165ad7b30b
line source
1 # SliTaz package receipt.
3 PACKAGE="sed"
4 VERSION="4.4"
5 CATEGORY="development"
6 SHORT_DESC="Gnu stream editor."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.gnu.org/software/sed/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="acl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 $CONFIGURE_ARGS &&
21 make $MAKEFLAGS && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cook_copy_folders bin
28 }
30 # Pre and post install commands for Tazpkg.
31 post_install()
32 {
33 [ "$(readlink $1/bin/sed)" = "busybox" ] && mv $1/bin/sed $1/bin/sed-bb
34 }
36 pre_remove()
37 {
38 [ -e $1/bin/sed-bb ] && mv $1/bin/sed-bb $1/bin/sed
39 }