wok-6.x annotate sed/receipt @ rev 22770

updated fox, fox-dev and fox-doc (1.6.49 -> 1.6.57)
author Hans-G?nter Theisgen
date Sat Jan 25 15:38:28 2020 +0100 (2020-01-25)
parents a4165ad7b30b
children d5ac235eb44c
rev   line source
paul@3640 1 # SliTaz package receipt.
paul@3640 2
paul@3640 3 PACKAGE="sed"
Hans-G?nter@21898 4 VERSION="4.7"
paul@3640 5 CATEGORY="development"
Hans-G?nter@21898 6 SHORT_DESC="GNU stream editor."
paul@3640 7 MAINTAINER="paul@slitaz.org"
pascal@15229 8 LICENSE="GPL3"
Hans-G?nter@21898 9 WEB_SITE="https://www.gnu.org/software/sed/"
Hans-G?nter@21898 10
devl547@19607 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
paul@3640 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
paul@3640 13
pascal@15229 14 DEPENDS="acl"
pascal@15229 15
Hans-G?nter@21898 16 HOST_ARCH="i486 arm"
Hans-G?nter@21898 17
paul@3640 18 # Rules to configure and make the package.
paul@3640 19 compile_rules()
paul@3640 20 {
paul@3640 21 ./configure \
paul@3640 22 $CONFIGURE_ARGS &&
Hans-G?nter@21898 23 make $MAKEFLAGS &&
Hans-G?nter@21898 24 make install
paul@3640 25 }
paul@3640 26
paul@3640 27 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3640 28 genpkg_rules()
paul@3640 29 {
devl547@19607 30 cook_copy_folders bin
paul@3640 31 }
paul@3640 32
pascal@21874 33 # Pre and post install commands for Tazpkg.
pascal@21874 34 post_install()
pascal@21874 35 {
pascal@21874 36 [ "$(readlink $1/bin/sed)" = "busybox" ] && mv $1/bin/sed $1/bin/sed-bb
pascal@22096 37 ln -s /usr/bin/sed $1/bin/sed
pascal@21874 38 }
pascal@21874 39
pascal@21874 40 pre_remove()
pascal@21874 41 {
pascal@22096 42 rm $1/bin/sed
pascal@21874 43 [ -e $1/bin/sed-bb ] && mv $1/bin/sed-bb $1/bin/sed
pascal@21874 44 }