wok view sed/receipt @ rev 24203

updated perl-exporter-tiny (1.002001 -> 1.002002)
author Hans-G?nter Theisgen
date Fri Dec 31 15:25:57 2021 +0100 (2021-12-31)
parents c2bd5d258aac
children 71360a13cd94
line source
1 # SliTaz package receipt.
3 PACKAGE="sed"
4 VERSION="4.8"
5 CATEGORY="development"
6 SHORT_DESC="GNU stream editor."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/sed/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="acl"
16 HOST_ARCH="i486 arm"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 $CONFIGURE_ARGS &&
23 make $MAKEFLAGS &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cook_copy_folders bin
31 }
33 # Pre and post install commands for Tazpkg.
34 post_install()
35 {
36 [ "$(readlink $1/bin/sed)" = "busybox" ] &&
37 mv $1/bin/sed $1/bin/sed-bb
38 ln -s /usr/bin/sed $1/bin/sed
39 }
41 pre_remove()
42 {
43 rm $1/bin/sed
44 [ -e $1/bin/sed-bb ] &&
45 mv $1/bin/sed-bb $1/bin/sed
46 }