wok diff lvm2/receipt @ rev 23940

ipxe: fix snponly.efi & ipxelinux.efi builds
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 12 17:42:55 2020 +0000 (2020-09-12)
parents 2d4c3cc3ef95
children 3e9a9990c985
line diff
     1.1 --- a/lvm2/receipt	Sat Feb 02 10:29:04 2019 +0100
     1.2 +++ b/lvm2/receipt	Sat Sep 12 17:42:55 2020 +0000
     1.3 @@ -1,37 +1,42 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lvm2"
     1.7 -SOURCE="LVM2"
     1.8 -VERSION="2.02.183"
     1.9 +VERSION="2.03.08"
    1.10  CATEGORY="system-tools"
    1.11  SHORT_DESC="Linux Logical Volume Manager."
    1.12  MAINTAINER="guillaume.michon@laposte.net"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://sourceware.org/lvm2/"
    1.15 +
    1.16 +SOURCE="LVM2"
    1.17  TARBALL="$SOURCE.$VERSION.tgz"
    1.18 -WEB_SITE="http://sourceware.org/lvm2/"
    1.19 -WGET_URL="ftp://sources.redhat.com/pub/lvm2/$TARBALL"
    1.20 +WGET_URL="ftp://sourceware.org/pub/lvm2/old/$TARBALL"
    1.21  
    1.22 -DEPENDS="readline linux-md libdevmapper ncurses libaio"
    1.23 -BUILD_DEPENDS="readline-dev udev-dev ncurses-dev libaio-dev \
    1.24 -coreutils-file-format"
    1.25 +DEPENDS="libaio libdevmapper linux-md ncurses readline"
    1.26 +BUILD_DEPENDS="coreutils-file-format libaio-dev ncurses-dev readline-dev 
    1.27 +	udev-dev"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32  	find * -type d -exec ln -s ../autoconf {} \;
    1.33 -	./configure \
    1.34 -		--enable-cmdlib \
    1.35 -		--enable-dmeventd \
    1.36 -		--with-udevdir=/lib/udev/rules.d \
    1.37 -		--enable-udev_sync \
    1.38 -		--enable-udev_rules \
    1.39 -		--enable-cmdlib \
    1.40 -		--enable-applib \
    1.41 -		--enable-readline \
    1.42 -		--enable-pkgconfig \
    1.43 +
    1.44 +	# 2.03.08 unrecognised:
    1.45 +	#	--enable-applib
    1.46 +
    1.47 +	./configure					\
    1.48 +		--enable-cmdlib				\
    1.49 +		--enable-dmeventd			\
    1.50 +		--with-udevdir=/lib/udev/rules.d	\
    1.51 +		--enable-udev_sync			\
    1.52 +		--enable-udev_rules			\
    1.53 +		--enable-cmdlib				\
    1.54 +		--enable-readline			\
    1.55 +		--enable-pkgconfig			\
    1.56  		$CONFIGURE_ARGS &&
    1.57 -	make && make install
    1.58 -	cd $src/udev
    1.59 +	make &&
    1.60 +	make install &&
    1.61 +	cd $src/udev &&
    1.62  	make install
    1.63  }
    1.64  
    1.65 @@ -39,10 +44,12 @@
    1.66  genpkg_rules()
    1.67  {
    1.68  	mkdir -p $fs/usr/lib
    1.69 -	cp -a $install/etc $fs
    1.70 -	cp -a $install/usr/sbin $fs/usr
    1.71 -	cp -a $install/usr/lib/* $fs/usr/lib
    1.72 +
    1.73 +	cp -a $install/etc		$fs
    1.74 +	cp -a $install/usr/sbin		$fs/usr
    1.75 +	cp -a $install/usr/lib/*	$fs/usr/lib
    1.76 +
    1.77  	# split libdevmapper
    1.78 -	rm -f $fs/usr/lib/libdevmapper*.so*
    1.79 -	rm -f $fs/usr/sbin/dmsetup
    1.80 +	rm -f				$fs/usr/lib/libdevmapper*.so*
    1.81 +	rm -f				$fs/usr/sbin/dmsetup
    1.82  }