summaryrefslogtreecommitdiff
path: root/packages/SDL_mixer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/SDL_mixer.sh')
-rwxr-xr-xpackages/SDL_mixer.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/packages/SDL_mixer.sh b/packages/SDL_mixer.sh
index e83ba0b..e49c7cf 100755
--- a/packages/SDL_mixer.sh
+++ b/packages/SDL_mixer.sh
@@ -3,6 +3,9 @@
SRCTYPE=hg
SRCURL=http://hg.libsdl.org/SDL_mixer/
+ENV_LD_LIBRARY_PATH="lib"
+ENV_PKG_CONFIG_PATH="lib/pkgconfig"
+
function package_build {
run_switch_branch SDL-1.2
run_src_script ./autogen.sh
@@ -12,8 +15,3 @@ function package_build {
run_make
run_make_install
}
-
-function package_use {
- env_lib_library_path "lib"
- env_pkg_config_path "lib/pkgconfig"
-}