desmume/debian/configure.sh

21 lines
464 B
Bash
Raw Normal View History

2024-01-31 11:51:01 +00:00
#!/bin/bash
source=$1
2024-01-31 12:06:39 +00:00
prefix=$2
2024-01-31 11:51:01 +00:00
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
2024-01-31 12:06:39 +00:00
./configure --prefix=$prefix --bindir=$prefix/games --datadir=$prefix/share/games \
2024-01-31 11:51:01 +00:00
--enable-gdb-stub \
--enable-osmesa \
--enable-glade
popd