summaryrefslogtreecommitdiff
path: root/packages/SDL.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/SDL.sh')
-rwxr-xr-xpackages/SDL.sh12
1 files changed, 5 insertions, 7 deletions
diff --git a/packages/SDL.sh b/packages/SDL.sh
index 256fa5b..f1da105 100755
--- a/packages/SDL.sh
+++ b/packages/SDL.sh
@@ -3,6 +3,11 @@
SRCTYPE=hg
SRCURL=http://hg.libsdl.org/SDL/
+ENV_PATH="bin"
+ENV_LD_LIBRARY_PATH="lib"
+ENV_PKG_CONFIG_PATH="lib/pkgconfig"
+ENV_MANPATH="share/man"
+
function package_build {
run_switch_branch SDL-1.2
run_src_script ./autogen.sh
@@ -16,10 +21,3 @@ function package_build {
run_make
run_make_install
}
-
-function package_use {
- env_path "bin"
- env_lib_library_path "lib"
- env_pkg_config_path "lib/pkgconfig"
- env_man "share/man"
-}