Magellan Linux

Contents of /trunk/core/autoconf/autoconf-4-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 6 months ago) by niro
File size: 1177 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/autoconf/autoconf-4-r2.smage2,v 1.1 2008/02/09 14:00:01 niro Exp $
2
3 PNAME="autoconf"
4 PVER="4"
5 PBUILD="r2"
6
7 PCATEGORIE="sys-dev"
8 STATE="unstable"
9
10 DESCRIPTION="Wrapper for autoconf to utilize serveral versions."
11 HOMEPAGE="http://gentoo.org"
12
13 DEPEND=">= sys-dev/autoconf21-2.13
14 >= sys-dev/autoconf25-2.59
15 >= sys-dev/autoconf26-2.61"
16
17 SRCFILE="ac-wrapper-${PVER}.sh"
18 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19
20 sminclude mtools
21
22 SRC_URI=( mirror://${PNAME}/${SRCFILE})
23
24 src_install()
25 {
26 # needed directories
27 minstalldir /usr/bin || die
28 minstalldir /usr/$(mlibdir)/misc || die
29
30 # install wrapper
31 minstallexec -s ${SRCFILE} /usr/$(mlibdir)/misc/ac-wrapper.sh || die
32
33 # install proper symlinks
34 local i
35 for i in autoconf \
36 autoheader \
37 autom4te \
38 autoreconf \
39 autoscan \
40 autoupdate \
41 ifnames
42 do
43 mlink ../$(mlibdir)/misc/ac-wrapper.sh /usr/bin/${i} || die
44 done
45 }
46
47 preinstall()
48 {
49 # remove these to make sure symlinks install properly if
50 # old versions were binaries
51 for x in autoconf autoheader autoreconf autoscan autoupdate ifnames autom4te
52 do
53 if [ -e ${MROOT}/usr/bin/${x} ]
54 then
55 rm -f ${MROOT}/usr/bin/${x}
56 fi
57 done
58 }

Properties

Name Value
svn:keywords Id