wok annotate sed/receipt @ rev 21996

linux: add ath10k wireless driver
author Richard Dunbar <mojo@slitaz.org>
date Wed Oct 16 21:56:55 2019 -0400 (2019-10-16)
parents 4b27a977323d
children c2bd5d258aac
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@21874 37 }
pascal@21874 38
pascal@21874 39 pre_remove()
pascal@21874 40 {
pascal@21874 41 [ -e $1/bin/sed-bb ] && mv $1/bin/sed-bb $1/bin/sed
pascal@21874 42 }