summaryrefslogtreecommitdiff
path: root/packages/SDL_image.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_image.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_image.sh')
-rwxr-xr-xpackages/SDL_image.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/SDL_image.sh b/packages/SDL_image.sh
index 525bc94..c6ba568 100755
--- a/packages/SDL_image.sh
+++ b/packages/SDL_image.sh
@@ -7,10 +7,12 @@ DEFAULT_BRANCH="SDL-1.2"
ENV_LD_LIBRARY_PATH="lib"
ENV_PKG_CONFIG_PATH="lib/pkgconfig"
+CONFIGURE_FLAGS="--disable-jpg-shared --disable-tif-shared --disable-png-shared --disable-webp-shared"
+
function package_build {
run_switch_branch
run_src_script ./autogen.sh
- run_configure --disable-jpg-shared --disable-tif-shared --disable-png-shared --disable-webp-shared
+ run_configure
run_make
run_make_install