wok-next diff lvm2/receipt @ rev 20636

Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 27 15:12:17 2018 +0300 (2018-04-27)
parents 0e8dadf052b9
children e7a485521d6a
line diff
     1.1 --- a/lvm2/receipt	Thu Jul 27 00:56:44 2017 +0300
     1.2 +++ b/lvm2/receipt	Fri Apr 27 15:12:17 2018 +0300
     1.3 @@ -1,12 +1,13 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="lvm2"
     1.7 -VERSION="2.02.173"
     1.8 +VERSION="2.02.177"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Linux Logical Volume Manager"
    1.11  MAINTAINER="guillaume.michon@laposte.net"
    1.12  LICENSE="GPL2"
    1.13  WEB_SITE="http://sourceware.org/lvm2/"
    1.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/lvm2.html"
    1.15  
    1.16  TARBALL="LVM2.$VERSION.tgz"
    1.17  WGET_URL="ftp://sources.redhat.com/pub/lvm2/$TARBALL"
    1.18 @@ -14,11 +15,7 @@
    1.19  BUILD_DEPENDS="readline-dev eudev-dev ncurses-dev coreutils-file-format"
    1.20  SPLIT="dmsetup libdevmapper libdevmapper-dev lvm2 lvm2-dev"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 -	# http://www.linuxfromscratch.org/blfs/view/stable/postlfs/lvm2.html
    1.26 -
    1.27 +compile_rules() {
    1.28  	./configure \
    1.29  		--exec-prefix= \
    1.30  		--enable-applib \
    1.31 @@ -41,9 +38,7 @@
    1.32  	make install
    1.33  }
    1.34  
    1.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 -genpkg_rules()
    1.37 -{
    1.38 +genpkg_rules() {
    1.39  	case $PACKAGE in
    1.40  		dmsetup)
    1.41  			copy dmsetup dmstats
    1.42 @@ -63,8 +58,7 @@
    1.43  			DEPENDS="libdevmapper eudev-dev"
    1.44  			;;
    1.45  		lvm2)
    1.46 -			copy @std
    1.47 -			remove_already_packed
    1.48 +			copy @std @rm
    1.49  			DEPENDS="eudev libdevmapper ncurses readline   linux-md"
    1.50  			;;
    1.51  		lvm2-dev)