wok-current diff amule/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | f2b7e5dd6de3 |
children |
line diff
1.1 --- a/amule/receipt Fri May 12 17:54:34 2023 +0100 1.2 +++ b/amule/receipt Fri Sep 01 12:04:33 2023 +0000 1.3 @@ -1,9 +1,9 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="amule" 1.7 -VERSION="2.3.2" 1.8 +VERSION="2.3.3" 1.9 CATEGORY="network" 1.10 -TAGS="p2p peer-to-peer fileshare" 1.11 +TAGS="fileshare p2p peer-to-peer" 1.12 SHORT_DESC="An eMule-like client for the eD2k and Kademlia networks." 1.13 MAINTAINER="pankso@slitaz.org" 1.14 LICENSE="GPL2" 1.15 @@ -28,8 +28,9 @@ 1.16 # Rules to configure and make the package. 1.17 compile_rules() 1.18 { 1.19 - patch -p1 < $stuff/libupnp1.8.patch || exit 1 1.20 - patch --strip=0 --input=$stuff/patches/MuleDebug.cpp-2.3.2 && 1.21 + # 2.3.2 1.22 +# patch -p1 < $stuff/libupnp1.8.patch || exit 1 1.23 +# patch --strip=0 --input=$stuff/patches/MuleDebug.cpp-2.3.2 && 1.24 1.25 # What works for imule (see https://aur.archlinux.org/packages/imule) 1.26 # might work for amule also: 1.27 @@ -37,17 +38,22 @@ 1.28 src/ClientCreditsList.cpp 1.29 1.30 # Fixed libupnp API breakage. 1.31 - sed -e 's|UpnpInit(ipAddress|UpnpInit2(0|' -e 's|UpnpInit)|UpnpInit2)|' \ 1.32 - -e 's|ipAddress = NULL|ipAddress|' -e 's|port = 0|port|' \ 1.33 - -i src/UPnPBase.cpp 1.34 + sed -i -e 's|UpnpInit(ipAddress|UpnpInit2(0|' \ 1.35 + -e 's|UpnpInit)|UpnpInit2)|' \ 1.36 + -e 's|ipAddress = NULL|ipAddress|' \ 1.37 + -e 's|port = 0|port|' \ 1.38 + src/UPnPBase.cpp 1.39 1.40 ./configure \ 1.41 --prefix=/usr \ 1.42 + --disable-debug \ 1.43 $CONFIGURE_ARGS && 1.44 make $MAKEFLAGS && 1.45 make install DESTDIR=$DESTDIR && 1.46 + 1.47 ./configure \ 1.48 --prefix=/usr \ 1.49 + --disable-debug \ 1.50 --disable-monolithic \ 1.51 --enable-amule-daemon \ 1.52 --enable-amulecmd \ 1.53 @@ -62,12 +68,12 @@ 1.54 { 1.55 mkdir -p $fs/usr/share 1.56 1.57 - rm -rf $install/usr/share/man/?? 1.58 - rm -rf $install/usr/share/man/*_* 1.59 +# rm -rf $install/usr/share/man/?? 1.60 +# rm -rf $install/usr/share/man/*_* 1.61 cp -a $install/usr/bin $fs/usr 1.62 cp -a $install/usr/share/amule $fs/usr/share 1.63 + 1.64 # Remove unused files in this base package. 1.65 -# not existing 1.66 -# rm $fs/usr/share/amule/skins/kde4.zip 1.67 -# rm $fs/usr/share/amule/skins/gnome.zip 1.68 + rm $fs/usr/share/amule/skins/kde4.zip 1.69 + rm $fs/usr/share/amule/skins/gnome.zip 1.70 }