# This script is... # Released under GNU/gpl. # You can use it under the same conditions. With the same notice. # copyright Jens Odsvall # http://www.slackware.se/jens/ #!/bin/sh TMP=/home/jensa/download/install/work/licq/build-dir # CWD=`pwd` mkdir -p $TMP PKG=$TMP/package-licq rm -rf $PKG mkdir -p $PKG # VERSION=1.3.0 PKGVER=1.3.0 ARCH=${ARCH:-i686} BUILD=1jo # cd $TMP tar -jxvf $CWD/licq-$VERSION.tar.bz2 ( cd licq-$VERSION CFLAGS="-O2 -g -march=i686 -mtune=i686 -pipe" ./configure --prefix=/usr \ --disable-debug \ --with-openssl-inc=/usr/include \ --with-openssl-lib=/usr/lib make make install make install DESTDIR=$PKG cd licq-$VERSION/plugins/qt-gui CFLAGS="-O2 -g -march=i686 -mtune=i686 -pipe" ./configure --prefix=/usr \ --disable-debug make make install make install DESTDIR=$PKG ) chown -R root:bin $PKG/usr/bin mkdir -p $PKG/install # Install the slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG makepkg -l y -c n $TMP/licq-$PKGVER-$ARCH-$BUILD.tgz