summaryrefslogtreecommitdiff
path: root/packages/SDL_ttf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/SDL_ttf.sh')
-rwxr-xr-xpackages/SDL_ttf.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/SDL_ttf.sh b/packages/SDL_ttf.sh
new file mode 100755
index 0000000..9131f0a
--- /dev/null
+++ b/packages/SDL_ttf.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+function package_build {
+ run_hg_switch_branch SDL-1.2
+ run_src_script ./autogen.sh
+ run_configure --disable-gui
+
+ run_make
+ run_make_install
+}
+
+function package_get_source {
+ run_hg_clone http://hg.libsdl.org/SDL_ttf/
+}
+
+function package_use {
+ env_lib_library_path "lib"
+ env_pkg_config_path "lib/pkgconfig"
+}