#!/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 ue='author'>author
AgeCommit message (Collapse)AuthorFilesLines
2011-01-07update scan file for de-neftvChristoph Pfister1-5/+16
submitted by poempelfox mulder.franken.de
2010-12-28strict syntaxChristoph Pfister1-16/+16
2010-12-25merge fi-3ktv and fi-Oulu into fi-dnaChristoph Pfister2-20/+6
suggested by Antti Palosaari
2010-12-25rename fi-Smedsbole to ax-SmedsboleChristoph Pfister1-0/+0
suggested by Antti Palosaari
2010-12-25changeset: 1407:d38a19ce8521Christoph Pfister60-4/+54
tag: tip user: Antti Palosaari <crope@iki.fi> date: Fri Dec 10 18:32:39 2010 +0200 summary: dvb-apps: update DVB-T intial tuning files for Finland (fi-*)
2010-12-25update scan file for ch-GenevaChristoph Pfister1-5/+5
submitted by tkernen deckpoint.ch
2010-11-28update scan file for fr-ReimsChristoph Pfister1-11/+7
submitted by sylvestre.cartier gmail.com
2010-11-21update scan file for fr-ToursChristoph Pfister1-23/+9
submitted by lissyx lissyx.dyndns.org