diff options
Diffstat (limited to 'templates/libtool/template')
| -rw-r--r-- | templates/libtool/template | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/libtool/template b/templates/libtool/template new file mode 100644 index 0000000..e3aba4c --- /dev/null +++ b/templates/libtool/template @@ -0,0 +1,26 @@ +pkgname=libtool +version=2.5.4 +build_no=1 +upstream="${MIRROR_GNU_FTP}/libtool/libtool-${version}.tar.gz" + +function do_configure { + mkdir build/ + cd build/ + + conf_flags=( + --prefix=/usr + --host=${DISTRO_TC} + ) + + ../configure "${conf_flags[@]}" +} + +function do_build { + cd build/ + make -j$(nproc) +} + +function do_install { + cd build/ + make DESTDIR=${DESTDIR} install +} |
