wok-6.x diff util-linux-blockdev/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 | 9e01bc6321ea |
children | 0f35f8ad5632 |
line diff
1.1 --- a/util-linux-blockdev/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/util-linux-blockdev/receipt Thu Jun 30 22:48:07 2016 +0300 1.3 @@ -1,30 +1,23 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="util-linux-blockdev" 1.7 -VERSION="2.24" 1.8 +VERSION="2.28" 1.9 CATEGORY="base-system" 1.10 -SHORT_DESC="The blockdev utility from Util linux NG." 1.11 +SHORT_DESC="The blockdev utility from Util Linux" 1.12 MAINTAINER="devel@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="https://en.wikipedia.org/wiki/Util-linux" 1.15 + 1.16 WANTED="util-linux" 1.17 -WEB_SITE="http://kernel.org/~kzak/util-linux/" 1.18 - 1.19 DEPENDS="glibc-base" 1.20 1.21 # Rules to gen a SliTaz package suitable for Tazpkg. 1.22 genpkg_rules() 1.23 { 1.24 - mkdir -p $fs/sbin 1.25 - cp -a $install/sbin/blockdev $fs/sbin 1.26 -} 1.27 - 1.28 -# Overlap busybox 1.29 -pre_install() 1.30 -{ 1.31 - rm -f "$1/sbin/blockdev" 1.32 + cook_copy_files blockdev blockdev.8* 1.33 } 1.34 1.35 post_remove() 1.36 { 1.37 - ln -s /bin/busybox /sbin/blockdev 1.38 + ln -s /bin/busybox "$1/sbin/blockdev" 1.39 }