Magellan Linux

Annotation of /smage/branches/alx07x-stable/core/autoconf/autoconf-10.1-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14913 - (hide annotations) (download)
Thu Aug 6 12:49:34 2020 UTC (3 years, 9 months ago) by niro
File size: 708 byte(s)
-release branches/alx07x-stable
1 niro 13958 # $Id$
2    
3     PNAME="autoconf"
4     PVER="10.1"
5     PBUILD="r5"
6    
7     PCAT="sys-dev"
8    
9     DESCRIPTION="Wrapper for autoconf to utilize serveral versions."
10     HOMEPAGE="http://gentoo.org"
11    
12     DEPEND=">= sys-dev/autoconf21-2.13
13     >= sys-dev/autoconf25-2.59
14     >= sys-dev/autoconf26-2.69"
15    
16     SRCFILE="ac-wrapper-${PVER}.tar.bz2"
17     SRCDIR="${BUILDDIR}/ac-wrapper-${PVER}"
18    
19     sminclude mbuild
20    
21     SRC_URI=( mirror://${PNAME}/${SRCFILE})
22    
23     src_compile()
24     {
25     cd ${SRCDIR}
26     mmake || die
27     }
28    
29     preinstall()
30     {
31     # remove these to make sure symlinks install properly if
32     # old versions were binaries
33     for x in autoconf autoheader autoreconf autoscan autoupdate ifnames autom4te
34     do
35     if [ -e ${MROOT}/usr/bin/${x} ]
36     then
37     rm -f ${MROOT}/usr/bin/${x}
38     fi
39     done
40     }