diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-24 02:52:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-24 02:52:45 +0300 |
commit | 8478b621550f6779eac9ad618e58dae0624a95e5 (patch) | |
tree | bdfeef46459ebca1e4b80fb9f218fac544eedc42 | |
parent | d356bd7c8c06d9ee6ab117148b2e689d04056b1c (diff) | |
download | spm-8478b621550f6779eac9ad618e58dae0624a95e5.tar.gz spm-8478b621550f6779eac9ad618e58dae0624a95e5.tar.bz2 spm-8478b621550f6779eac9ad618e58dae0624a95e5.tar.xz spm-8478b621550f6779eac9ad618e58dae0624a95e5.zip |
Add libpng package.
-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" +} |