wok annotate sed/receipt @ rev 21874

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