wok annotate sed/receipt @ rev 23864
syslinux/isoboot.s: accept user args (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 19 17:01:11 2020 +0000 (2020-06-19) |
parents | c2bd5d258aac |
children | 71360a13cd94 |
rev | line source |
---|---|
paul@3640 | 1 # SliTaz package receipt. |
paul@3640 | 2 |
paul@3640 | 3 PACKAGE="sed" |
Hans-G?nter@23638 | 4 VERSION="4.8" |
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 { |
Hans-G?nter@23638 | 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 { |
Hans-G?nter@23638 | 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 { |
Hans-G?nter@23638 | 36 [ "$(readlink $1/bin/sed)" = "busybox" ] && |
Hans-G?nter@23638 | 37 mv $1/bin/sed $1/bin/sed-bb |
Hans-G?nter@23638 | 38 ln -s /usr/bin/sed $1/bin/sed |
pascal@21874 | 39 } |
pascal@21874 | 40 |
pascal@21874 | 41 pre_remove() |
pascal@21874 | 42 { |
pascal@22096 | 43 rm $1/bin/sed |
Hans-G?nter@23638 | 44 [ -e $1/bin/sed-bb ] && |
Hans-G?nter@23638 | 45 mv $1/bin/sed-bb $1/bin/sed |
pascal@21874 | 46 } |