IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=0.9.8 PROGNAME="alsa-utils $VERSION" DESC="\ alsa-utils (Advanced Linux Sound Architecture utilities) \n\ \n\ The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI \n\ functionality to the Linux operating system. This package contains \n\ command line audio utilities for use with ALSA: \n\ alsactl (manage soundcard settings) \n\ arecord/aplay (capture and play audio) \n\ amixer (adjust mixer settings from the command line) \n\ alsamixer (an ncurses-based console mixer) \n\ \n\ For more information, see http://alsa-project.org" BUILD=1 MAINTAINER="Mark Post " SOURCE=http://alsa-project.org/download.php3 PKGNAME=alsa-utils-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/alsa-utils-$VERSION.tar.bz2 cd alsa-utils-$VERSION/ chown -R root.root . CFLAGS=-O2 \ ./configure --prefix=/usr \ --sysconfdir=/etc make } install() { make install DESTDIR=/package-alsa-utils mkdir -p /package-alsa-utils/usr/doc/alsa-utils-$VERSION cp -a COPYING ChangeLog INSTALL TODO seq/aconnect/README.aconnect \ seq/aseqnet/README.aseqnet \ /package-alsa-utils/usr/doc/alsa-utils-$VERSION cp -a alsamixer/README /package-alsa-utils/usr/doc/alsa-utils-$VERSION/README.alsamixer ( cd /package-alsa-utils/usr/man/man1 rm -rf *.gz gzip -9 *.1 ) ( cd /package-alsa-utils/usr/man/man1 rm -rf arecord.1 ; ln -s aplay.1.gz arecord.1.gz ) } attributes() { chown -R root.bin $PKG/package-alsa-utils/usr/bin \ $PKG/package-alsa-utils/usr/sbin chmod 755 $PKG/package-alsa-utils/etc/rc.d/rc.alsa } special() { cd $PKG mv package-alsa-utils/* ./ rmdir package-alsa-utils cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-alsa-utils/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }