summaryrefslogtreecommitdiff
path: root/packages/SDL.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-27 20:41:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-27 20:41:28 +0300
commit54a27ef444fe68a47069bd9f51cf8cfb00c0182c (patch)
tree7bc9bffe57bc1053eb76b1774827d5491a36cca5 /packages/SDL.sh
parentdd3b8dd21957d4a5d9f2c68a547e984bdf465b63 (diff)
downloadspm-54a27ef444fe68a47069bd9f51cf8cfb00c0182c.tar.gz
spm-54a27ef444fe68a47069bd9f51cf8cfb00c0182c.tar.bz2
spm-54a27ef444fe68a47069bd9f51cf8cfb00c0182c.tar.xz
spm-54a27ef444fe68a47069bd9f51cf8cfb00c0182c.zip
In packages move configure and cmake flags into variable CONFIGURE_FLAGS.
Diffstat (limited to 'packages/SDL.sh')
-rwxr-xr-xpackages/SDL.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/SDL.sh b/packages/SDL.sh
index fc1fd9b..a502812 100755
--- a/packages/SDL.sh
+++ b/packages/SDL.sh
@@ -9,15 +9,17 @@ ENV_LD_LIBRARY_PATH="lib"
ENV_PKG_CONFIG_PATH="lib/pkgconfig"
ENV_MANPATH="share/man"
-function package_build {
- run_switch_branch
- run_src_script ./autogen.sh
- run_configure --disable-rpath --enable-sdl-dlopen --disable-loadso \
+CONFIGURE_FLAGS="--disable-rpath --enable-sdl-dlopen --disable-loadso \
--disable-video-ggi \
--disable-nas --disable-esd --disable-arts \
--disable-alsa-shared --disable-pulseaudio-shared \
--disable-x11-shared \
- --enable-video-directfb
+ --enable-video-directfb"
+
+function package_build {
+ run_switch_branch
+ run_src_script ./autogen.sh
+ run_configure
run_make
run_make_install