mirror of
https://github.com/TASVideos/desmume
synced 2024-07-03 08:18:44 +00:00
Create configure.sh
This commit is contained in:
parent
f85f8b7c4c
commit
3a32e7f5dc
19
debian/configure.sh
vendored
Normal file
19
debian/configure.sh
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
source=$1
|
||||
pushd $source/desmume
|
||||
sed -i 's/\r//' AUTHORS
|
||||
for txtfile in AUTHORS
|
||||
do
|
||||
iconv --from=ISO-8859-1 --to=UTF-8 $txtfile > tmp
|
||||
touch -r $txtfile tmp
|
||||
mv tmp $txtfile
|
||||
done
|
||||
find src -name *.[ch]* -exec chmod 644 {} \;
|
||||
popd
|
||||
pushd $source/desmume/src/frontend/posix
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr --bindir=/usr/games --datadir=/usr/share/games \
|
||||
--enable-gdb-stub \
|
||||
--enable-osmesa \
|
||||
--enable-glade
|
||||
popd
|
Loading…
Reference in New Issue
Block a user