#!/bin/sh # # Slackware build script for wavemon # # Contributed by Christoph J. Thompson # CWD=`pwd` NAME=wavemon VERSION=0.5 ARCH=i586 BUILD=1 PKGNAME=$NAME PKGVER=$VERSION BASEDIR=$PKGNAME-$PKGVER ARCHIVE=$PKGNAME-current.tar.bz2 REPOSITORY=http://eden-feed.erg.abdn.ac.uk/wavemon FLAGS="-O2 -march=pentium -mtune=pentium -fno-strength-reduce \ -fomit-frame-pointer -ffast-math" PKG=/tmp/package-$NAME rm -rf $PKG mkdir -p $PKG # Obtain sources if [ ! -e $ARCHIVE ]; then if `wget "$REPOSITORY/$ARCHIVE"`; then true else exit 1 fi fi # Compile cd /tmp tar jxvf $CWD/$ARCHIVE cd $BASEDIR CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" ./configure \ --prefix=/usr \ --mandir=/usr/man \ --sysconfdir=/etc \ --localstatedir=/var make CFLAGS="${FLAGS}" # Install make install DESTDIR=$PKG mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION cat > $PKG/install/slack-desc < $PKG/install/slack-required <= 5.6-i486-3 EOF install -m644 -g0 -o0 AUTHORS README \ $PKG/usr/doc/$NAME-$VERSION chmod 444 $PKG/usr/man/man?/*.? gzip -9nf $PKG/usr/man/man?/*.? strip \ $PKG/usr/bin/* || : chown -R root.root $PKG # Make package cd $PKG cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.tgz >
AgeCommit message (Expand)AuthorFilesLines
2007-05-17compile error on m68k fixed (debian bug 405898)michael3-10/+170
2007-05-04typo in LUIse driver fixedmichael1-1/+1
2007-05-02some compiler warnings fixedmichael6-8/+14
2007-04-30LCD4Linux-0.10.1-RC2michael1-1/+1
2007-04-30ChangeLog updatedmichael1-1782/+3099
2007-04-30svn2cl moved and optimizedmichael1-6/+0