wok-6.x annotate util-linux-eject/receipt @ rev 19253

Up util-linux* (2.28); use new cook functions here.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 30 22:48:07 2016 +0300 (2016-06-30)
parents 69d061d983f5
children 0f35f8ad5632
rev   line source
mojo@15714 1 # SliTaz package receipt.
mojo@15714 2
mojo@15714 3 PACKAGE="util-linux-eject"
al@19253 4 VERSION="2.28"
mojo@15714 5 CATEGORY="base-system"
al@19253 6 SHORT_DESC="The eject utility from Util Linux"
mojo@15714 7 MAINTAINER="pankso@slitaz.org"
mojo@15714 8 LICENSE="GPL2"
al@19253 9 WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
mojo@15714 10 HOST_ARCH="i486 arm"
mojo@15714 11
al@19253 12 WANTED="util-linux"
al@19253 13 DEPENDS="glibc-base util-linux-blkid util-linux-mount util-linux-uuid"
mojo@15714 14
mojo@15714 15 # Rules to gen a SliTaz package suitable for Tazpkg.
mojo@15714 16 genpkg_rules()
mojo@15714 17 {
al@19253 18 cook_copy_files eject*
mojo@15714 19 }
mojo@15714 20
mojo@15714 21 post_remove()
mojo@15714 22 {
al@19253 23 ln -s /bin/busybox "$1/usr/bin/eject"
mojo@15714 24 }