wok-current rev 23148

updated lvm2 and lvm2-dev (2.02.183 -> 2.03.08)
author Hans-G?nter Theisgen
date Sun Mar 15 10:14:44 2020 +0100 (2020-03-15)
parents 8f4d7f7edd9e
children 74557c54a472
files lvm2-dev/receipt lvm2/receipt
line diff
     1.1 --- a/lvm2-dev/receipt	Sun Mar 15 10:00:40 2020 +0100
     1.2 +++ b/lvm2-dev/receipt	Sun Mar 15 10:14:44 2020 +0100
     1.3 @@ -1,19 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lvm2-dev"
     1.7 -VERSION="2.02.183"
     1.8 +VERSION="2.03.08"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Linux Logical Volume Manager development files."
    1.11 +SHORT_DESC="Linux Logical Volume Manager - development files."
    1.12  MAINTAINER="guillaume.michon@laposte.net"
    1.13  LICENSE="GPL2"
    1.14 -WANTED="lvm2"
    1.15 -WEB_SITE="http://sourceware.org/lvm2/"
    1.16 +WEB_SITE="https://sourceware.org/lvm2/"
    1.17  
    1.18  DEPENDS="lvm2 pkg-config"
    1.19 +WANTED="lvm2"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/lib
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 +	cp -a $install/usr/include	$fs/usr
    1.27  }
     2.1 --- a/lvm2/receipt	Sun Mar 15 10:00:40 2020 +0100
     2.2 +++ b/lvm2/receipt	Sun Mar 15 10:14:44 2020 +0100
     2.3 @@ -1,37 +1,42 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="lvm2"
     2.7 -SOURCE="LVM2"
     2.8 -VERSION="2.02.183"
     2.9 +VERSION="2.03.08"
    2.10  CATEGORY="system-tools"
    2.11  SHORT_DESC="Linux Logical Volume Manager."
    2.12  MAINTAINER="guillaume.michon@laposte.net"
    2.13  LICENSE="GPL2"
    2.14 +WEB_SITE="https://sourceware.org/lvm2/"
    2.15 +
    2.16 +SOURCE="LVM2"
    2.17  TARBALL="$SOURCE.$VERSION.tgz"
    2.18 -WEB_SITE="http://sourceware.org/lvm2/"
    2.19 -WGET_URL="ftp://sources.redhat.com/pub/lvm2/$TARBALL"
    2.20 +WGET_URL="ftp://sourceware.org/pub/lvm2/old/$TARBALL"
    2.21  
    2.22 -DEPENDS="readline linux-md libdevmapper ncurses libaio"
    2.23 -BUILD_DEPENDS="readline-dev udev-dev ncurses-dev libaio-dev \
    2.24 -coreutils-file-format"
    2.25 +DEPENDS="libaio libdevmapper linux-md ncurses readline"
    2.26 +BUILD_DEPENDS="coreutils-file-format libaio-dev ncurses-dev readline-dev 
    2.27 +	udev-dev"
    2.28  
    2.29  # Rules to configure and make the package.
    2.30  compile_rules()
    2.31  {
    2.32  	find * -type d -exec ln -s ../autoconf {} \;
    2.33 -	./configure \
    2.34 -		--enable-cmdlib \
    2.35 -		--enable-dmeventd \
    2.36 -		--with-udevdir=/lib/udev/rules.d \
    2.37 -		--enable-udev_sync \
    2.38 -		--enable-udev_rules \
    2.39 -		--enable-cmdlib \
    2.40 -		--enable-applib \
    2.41 -		--enable-readline \
    2.42 -		--enable-pkgconfig \
    2.43 +
    2.44 +	# 2.03.08 unrecognised:
    2.45 +	#	--enable-applib
    2.46 +
    2.47 +	./configure					\
    2.48 +		--enable-cmdlib				\
    2.49 +		--enable-dmeventd			\
    2.50 +		--with-udevdir=/lib/udev/rules.d	\
    2.51 +		--enable-udev_sync			\
    2.52 +		--enable-udev_rules			\
    2.53 +		--enable-cmdlib				\
    2.54 +		--enable-readline			\
    2.55 +		--enable-pkgconfig			\
    2.56  		$CONFIGURE_ARGS &&
    2.57 -	make && make install
    2.58 -	cd $src/udev
    2.59 +	make &&
    2.60 +	make install &&
    2.61 +	cd $src/udev &&
    2.62  	make install
    2.63  }
    2.64  
    2.65 @@ -39,10 +44,12 @@
    2.66  genpkg_rules()
    2.67  {
    2.68  	mkdir -p $fs/usr/lib
    2.69 -	cp -a $install/etc $fs
    2.70 -	cp -a $install/usr/sbin $fs/usr
    2.71 -	cp -a $install/usr/lib/* $fs/usr/lib
    2.72 +
    2.73 +	cp -a $install/etc		$fs
    2.74 +	cp -a $install/usr/sbin		$fs/usr
    2.75 +	cp -a $install/usr/lib/*	$fs/usr/lib
    2.76 +
    2.77  	# split libdevmapper
    2.78 -	rm -f $fs/usr/lib/libdevmapper*.so*
    2.79 -	rm -f $fs/usr/sbin/dmsetup
    2.80 +	rm -f				$fs/usr/lib/libdevmapper*.so*
    2.81 +	rm -f				$fs/usr/sbin/dmsetup
    2.82  }