tce-load -lwi compiletc make perl5 wxwidgets-dev libcryptopp-dev libupnp-dev libvulkan-dev squashfs-tools wget --no-check-certificate -O- https://sinalbr.dl.sourceforge.net/project/amule/aMule/2.3.3/aMule-2.3.3.tar.gz | tar -xz cd aMule-2.3.3/ sed -i 's|^#!/usr/bin/perl|#!/usr/local/bin/perl|' ./src/libs/ec/file_generator.pl find . -type f -name "*.h" -exec sed -i '1i\ #define __GXX_ABI_VERSION 1013 ' {} + ./configure --disable-debug --enable-optimize --disable-monolithic --enable-amule-daemon --enable-amulecmd --enable-webserver --prefix=/tmp/amuled/usr/local make -j8 make install find /tmp/amuled/ -exec strip -s {} \; rm -rf /tmp/amuled/usr/local/share/doc/ /tmp/amuled/usr/local/share/man/ /tmp/amuled/usr/local/share/applications/ /tmp/amuled/usr/local/share/pixmaps/ mksquashfs /tmp/amuled/ ../amule-locale.tcz -e usr/local/bin -e usr/local/share/amule rm -rf /tmp/amuled/usr/local/share/locale/ mksquashfs /tmp/amuled/ ../amule-cli.tcz find /tmp/amuled/ -type f -exec ldd {} \; 2>/dev/null | awk '/\/usr\/local\/lib/ {print $3}' | xargs ls -lah | awk '{print $11}' | awk -F'/' '{print $4 ".tcz"}' | uniq >> ../amule-cli.tcz.dep make clean ./configure --disable-debug --enable-optimize --prefix=/tmp/amule/usr/local make -j8 make install find /tmp/amule/ -exec strip -s {} \; rm -rf /tmp/amule/usr/local/share/doc /tmp/amule/usr/local/share/man /tmp/amule/usr/local/share/locale mksquashfs /tmp/amule/ ../amule.tcz find /tmp/amule/ -type f -exec ldd {} \; 2>/dev/null | awk '/\/usr\/local\/lib/ {print $3}' | xargs ls -lah | awk '{print $11}' | awk -F'/' '{print $4 ".tcz"}' | uniq >> ../amule.tcz.dep