1
0
mirror of https://github.com/TASVideos/desmume synced 2024-07-03 08:18:44 +00:00

Create configure.sh

This commit is contained in:
Kimpe Andy 2024-01-31 12:51:01 +01:00 committed by GitHub
parent f85f8b7c4c
commit 3a32e7f5dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

19
debian/configure.sh vendored Normal file
View 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