diff options
Diffstat (limited to 'packages')
-rwxr-xr-x | packages/libpng.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/libpng.sh b/packages/libpng.sh new file mode 100755 index 0000000..f13ae15 --- /dev/null +++ b/packages/libpng.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +function package_build { + run_git_switch_branch master + + run_autoreconf -i + run_configure + + run_make + run_make_install +} + +function package_get_source { + run_git_clone git://git.code.sf.net/p/libpng/code +} + +function package_use { + env_path "bin" + env_path "lib" + env_path "include" + env_man "share/man" + env_lib_library_path "lib" + env_pkg_config_path "lib/pkgconfig" +} |