|
How to make Alsa .deb files
I have two PCs. One is my work PC, the other for the kids.
I want to create the .deb files on my PC, burn to cd, copy the .deb to the PIII, and install the .deb files using
sudo dpkg ‐i package.deb
I have also done some googling on how to make a .deb file. It seems that instead of make install, I should use checkinstall.
Is this feasible ? How should how I modify the Alsa instructions ?
I got this from the Alsa site:
Make a directory to store the alsa source code in:
cd /usr/src
mkdir alsa
cd alsa
cp /downloads/alsa-* .
Now unzip and install the alsa-driver package:
bunzip2 alsa-driver-xxx
tar -xf alsa-driver-xxx
cd alsa-driver-xxx
./configure --with-cards=ymfpci --with-sequencer=yes ; make ; make install
chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
Now unzip and install the alsa-lib package:
cd ..
bunzip2 alsa-lib-xxx
tar -xf alsa-lib-xxx
cd alsa-lib-xxx
./configure ; make ; make install
Now unzip and install the alsa-utils package:
cd ..
bunzip2 alsa-utils-xxx
tar -xf alsa-utils-xxx
cd alsa-utils-xxx
./configure ; make ; make install
Now insert the modules into the kernel:
modprobe snd-ymfpci ; modprobe snd-pcm-oss ; modprobe snd-mixer-oss ; modprobe snd-seq-oss
|