From b45aae40251e522b6bc255f2c77788e19fbc02f0 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 27 Oct 2008 07:49:03 +0100 Subject: [PATCH] mng: use pre_configure() in template file. --HG-- extra : convert_revision : 1a4477ec9af51431ccf7a6af1a2c6d6864f545a2 --- templates/mng.pre_configure | 9 --------- templates/mng.tmpl | 11 +++++++++++ 2 files changed, 11 insertions(+), 9 deletions(-) delete mode 100644 templates/mng.pre_configure diff --git a/templates/mng.pre_configure b/templates/mng.pre_configure deleted file mode 100644 index 01a9c2eb083..00000000000 --- a/templates/mng.pre_configure +++ /dev/null @@ -1,9 +0,0 @@ -# -# Automake'ify MNG. -# - -cd $wrksrc && \ - $ln_cmd -sf makefiles/configure.in . && \ - $ln_cmd -sf makefiles/Makefile.am . - -. $XBPS_TMPLHELPDIR/automake.sh diff --git a/templates/mng.tmpl b/templates/mng.tmpl index 230d0f19003..aebdc8fa3c9 100644 --- a/templates/mng.tmpl +++ b/templates/mng.tmpl @@ -14,3 +14,14 @@ long_desc=" uses the zlib(3) compression library, and optionally the JPEG library by the Independent JPEG Group (IJG) and/or lcms (little CMS), a color-management library by Marti Maria Saguar." + +pre_configure() +{ + # Automake'ify MNG. + + cd $wrksrc && \ + $ln_cmd -sf makefiles/configure.in . && \ + $ln_cmd -sf makefiles/Makefile.am . + + . $XBPS_TMPLHELPDIR/automake.sh +}