wok-current diff amule/receipt @ rev 25268

xorg-cf-files/Imake.tmpl: update ArCmd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 17 14:59:20 2022 +0000 (2022-07-17)
parents 5f6c5106b1f5
children 9b2b1195df6c
line diff
     1.1 --- a/amule/receipt	Mon Jan 31 11:41:46 2022 +0000
     1.2 +++ b/amule/receipt	Sun Jul 17 14:59:20 2022 +0000
     1.3 @@ -28,26 +28,27 @@
     1.4  compile_rules()
     1.5  {
     1.6  	patch -p1 < $stuff/libupnp1.8.patch || exit 1
     1.7 +	patch --strip=0 --input=$stuff/patches/MuleDebug.cpp-2.3.2 &&
     1.8  
     1.9  	# What works for imule (see https://aur.archlinux.org/packages/imule)
    1.10  	# might work for amule also:
    1.11  	sed -i 's/pubkey.DEREncode(asink);/pubkey.AccessMaterial().Save(asink);/g' \
    1.12  		src/ClientCreditsList.cpp
    1.13  
    1.14 -	./configure \
    1.15 -		--prefix=/usr \
    1.16 +	./configure		\
    1.17 +		--prefix=/usr	\
    1.18  		$CONFIGURE_ARGS &&
    1.19  	make $MAKEFLAGS &&
    1.20 -	make DESTDIR=$DESTDIR install
    1.21 -	./configure \
    1.22 -		--prefix=/usr \
    1.23 -		--disable-monolithic \
    1.24 -		--enable-amule-daemon \
    1.25 -		--enable-amulecmd \
    1.26 -		--enable-webserver \
    1.27 +	make install DESTDIR=$DESTDIR
    1.28 +	./configure			\
    1.29 +		--prefix=/usr		\
    1.30 +		--disable-monolithic	\
    1.31 +		--enable-amule-daemon	\
    1.32 +		--enable-amulecmd	\
    1.33 +		--enable-webserver	\
    1.34  		$CONFIGURE_ARGS &&
    1.35  	make $MAKEFLAGS &&
    1.36 -	make DESTDIR=$DESTDIR install
    1.37 +	make install DESTDIR=$DESTDIR
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41 @@ -55,8 +56,8 @@
    1.42  {
    1.43  	mkdir -p $fs/usr/share
    1.44  	rm -rf $install/usr/share/man/?? $install/usr/share/man/*_*
    1.45 -	cp -a $install/usr/bin $fs/usr
    1.46 -	cp -a $install/usr/share/amule $fs/usr/share
    1.47 +	cp -a $install/usr/bin		$fs/usr
    1.48 +	cp -a $install/usr/share/amule	$fs/usr/share
    1.49  	# Remove unused files in this base package.
    1.50  	rm $fs/usr/share/amule/skins/kde4.zip
    1.51  	rm $fs/usr/share/amule/skins/gnome.zip