mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Some patches for clean compilation...
This commit is contained in:
parent
2699164b56
commit
dc02bee60a
2 changed files with 16 additions and 7 deletions
|
|
@ -1,16 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
source=.
|
||||
version=$VERSION
|
||||
package=$source/../alsa-lib-$version.tar.gz
|
||||
version=`cat $source/../version`
|
||||
package=$source/../../alsa-lib-$version.tar.gz
|
||||
|
||||
make -C .. pack
|
||||
|
||||
if [ ! -r $package ]; then
|
||||
echo "Error: wrong package: $package"
|
||||
exit 1
|
||||
package=$source/../alsa-lib-$version.tar.gz
|
||||
if [ ! -r $package ]; then
|
||||
echo "Error: wrong package: $package"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
make -C .. dist
|
||||
|
||||
cp -fv $package /usr/src/redhat/SOURCES
|
||||
|
||||
if [ ! -r $source/buildrpm ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue