IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=1.0.5 PROGNAME="alsa-oss $VERSION" DESC="\ alsa-oss (library/wrapper to use OSS programs with ALSA) \n\ \n\ The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI \n\ functionality to the Linux operating system. OSS (Open Sound System) \n\ is an older sound system for Linux that ALSA is replacing. Using \n\ the aoss wrapper you can use programs that only support OSS with ALSA \n\ without having to load the OSS compatibility kernel modules." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/alsa-oss PKGNAME=alsa-oss-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/alsa-oss-$VERSION.tar.bz2 cd alsa-oss-$VERSION/ chown -R root.root . CFLAGS=-O2 \ ./configure --prefix=/usr \ --sysconfdir=/etc \ --disable-static make } install() { make install DESTDIR=/package-alsa-oss mkdir -p /package-alsa-oss/usr/doc/alsa-oss-$VERSION cp -a COPYING /package-alsa-oss/usr/doc/alsa-oss-$VERSION ( cd /package-alsa-oss/usr/man/man1 rm -f *.gz gzip -9 *.1 ) } attributes() { chown -R root.bin $PKG/package-alsa-oss/usr/bin/ } special() { cd $PKG mv package-alsa-oss/* ./ rmdir package-alsa-oss cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-alsa-oss/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }