summaryrefslogtreecommitdiff
path: root/packages/SDL_mixer.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-27 01:30:53 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-27 01:30:53 +0300
commitb823c0636d902c71e71515fcc160443741d92bcc (patch)
treeb16e352f41e3ff917e506297d3c3c23624ad488a /packages/SDL_mixer.sh
parentbcc8cdc27946b0c4833ab70312d58a76f042c73d (diff)
downloadspm-b823c0636d902c71e71515fcc160443741d92bcc.tar.gz
spm-b823c0636d902c71e71515fcc160443741d92bcc.tar.bz2
spm-b823c0636d902c71e71515fcc160443741d92bcc.tar.xz
spm-b823c0636d902c71e71515fcc160443741d92bcc.zip
Add package varible SRCTYPE. It set src storage type. For now git or hg.
By default it set to git.
Diffstat (limited to 'packages/SDL_mixer.sh')
-rwxr-xr-xpackages/SDL_mixer.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/SDL_mixer.sh b/packages/SDL_mixer.sh
index 02b13ff..478ec36 100755
--- a/packages/SDL_mixer.sh
+++ b/packages/SDL_mixer.sh
@@ -1,7 +1,9 @@
#!/bin/bash
+SRCTYPE=hg
+
function package_build {
- run_hg_switch_branch SDL-1.2
+ run_switch_branch SDL-1.2
run_src_script ./autogen.sh
run_configure --disable-music-mp3 \
--disable-music-mod-shared --disable-music-ogg-shared --disable-music-mp3-shared --disable-music-flac-shared --disable-music-fluidsynth-shared
@@ -11,7 +13,7 @@ function package_build {
}
function package_get_source {
- run_hg_clone http://hg.libsdl.org/SDL_mixer/
+ run_clone http://hg.libsdl.org/SDL_mixer/
}
function package_use {