You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
674 B
25 lines
674 B
8 years ago
|
# The configure script's --disable-static flag is broken.
|
||
|
|
||
|
#import 'compile/configure'
|
||
|
import 'compile/cmake'
|
||
|
|
||
|
name=SDL2
|
||
|
version=2.0.4
|
||
|
update_url='https://libsdl.org/download-2.0.php'
|
||
|
|
||
|
dlextract "https://libsdl.org/release/$name-$version.tar.gz" \
|
||
|
'44fc4a023349933e7f5d7a582f7b886e'
|
||
|
header_end
|
||
|
|
||
|
cd "$name-$version"
|
||
|
|
||
|
# Fix paths
|
||
|
sed -i -e "/DESTINATION/s/bin/\"$(safe_sed "$dir_bindir")\"/" \
|
||
|
-e "/DESTINATION/s/lib\${LIB_SUFFIX}/$(safe_sed "$dir_libdir")/" \
|
||
|
-e "/DESTINATION/s/share/$(safe_sed "$dir_datadir")/" CMakeLists.txt
|
||
|
|
||
|
#compile_configure -- --disable-static
|
||
|
compile_cmake -- -DSDL_STATIC=OFF
|
||
|
|
||
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:
|