tce-load -i git compiletc automake autoconf popt-dev acl-dev attr-dev export CFLAGS="-mtune=generic -Os -pipe" export CXXFLAGS="-mtune=generic -Os -pipe" export LDFLAGS="-Wl,-O1" export CC="gcc -flto -fuse-linker-plugin" export CXX="g++ -flto -fuse-linker-plugin" #https://github.com/logrotate/logrotate #cd logrotate # make .info and .dep and .build-dep build_dir=`pwd` extension=logrotate rm -rf /tmp/$extension make clean autoreconf -fiv ./configure --prefix=/usr/local make DESTDIR=/tmp/$extension install-strip cd /tmp/$extension/usr/local rm -rf share mkdir -p share/doc/$extension cp $build_dir/COPYING share/doc/$extension/. tce-load -i squashfs-tools submitqc cd /tmp mksquashfs $extension $extension.tcz cp $build_dir/$extension.tcz* . tar -cf $extension.tar $extension.tcz* gzip -f -9 $extension.tar mv $extension.tar.gz $extension.tcz.tgz submitqc --libs $extension.tcz #cp -f $extension.tcz* /etc/sysconfig/tcedir/optional/.