wok diff util-linux-uuid/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-uuid/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/util-linux-uuid/receipt	Thu Jun 30 22:48:07 2016 +0300
     1.3 @@ -1,35 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="util-linux-uuid"
     1.7 -VERSION="2.24"
     1.8 +VERSION="2.28"
     1.9  CATEGORY="base-system"
    1.10 -SHORT_DESC="The uuid utility and library from Util linux NG."
    1.11 +SHORT_DESC="The uuid utility and library from Util Linux"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -WANTED="util-linux"
    1.15 -WEB_SITE="http://freecode.com/projects/util-linux/"
    1.16 +WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    1.17  HOST_ARCH="i486 arm"
    1.18  
    1.19 -DEPENDS="ncursesw"
    1.20 +WANTED="util-linux"
    1.21 +DEPENDS="glibc-base"
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26 -	mkdir -p $fs/lib $fs/usr/lib $fs/usr/bin $fs/usr/sbin
    1.27 -	cp -a $install/usr/sbin/uuidd $fs/usr/sbin
    1.28 -	cp -a $install/usr/bin/uuidgen $fs/usr/bin
    1.29 -	cp -a $install/lib/libuuid.so* $fs/lib
    1.30 -	cd $fs/usr/lib
    1.31 -	# Be compatible with /cross/*/sysroot
    1.32 -	ln -s ../../lib/libuuid.so.1.3.0 libuuid.so
    1.33 +	cook_copy_files libuuid.so* uuidgen* uuidd* uuid*3*
    1.34  }
    1.35 -
    1.36 -# Remove old package
    1.37 -post_install()
    1.38 -{
    1.39 -	if [ -d "$1$INSTALLED/util-linux-ng-uuid" ]; then
    1.40 -		echo "Removing old: util-linux-ng-uuid"
    1.41 -		rm -rf "$1$INSTALLED/util-linux-ng-uuid"
    1.42 -	fi
    1.43 -	true
    1.44 -}