Annotation of /branches/magellan-next/core/autoconf/autoconf-7-r1.smage2
Parent Directory
|
Revision Log
Revision 5805 -
(hide annotations)
(download)
Mon Aug 16 19:05:12 2010 UTC (13 years, 10 months ago) by niro
File size: 1115 byte(s)
Mon Aug 16 19:05:12 2010 UTC (13 years, 10 months ago) by niro
File size: 1115 byte(s)
imported from trunk
1 | niro | 3726 | # $Id$ |
2 | |||
3 | PNAME="autoconf" | ||
4 | PVER="7" | ||
5 | PBUILD="r1" | ||
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/autoconf263-2.63 | ||
16 | >= sys-dev/autoconf26-2.64" | ||
17 | |||
18 | SRCFILE="ac-wrapper-${PVER}.sh" | ||
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
20 | |||
21 | sminclude mtools | ||
22 | |||
23 | SRC_URI=( mirror://${PNAME}/${SRCFILE}) | ||
24 | |||
25 | src_install() | ||
26 | { | ||
27 | # needed directories | ||
28 | minstalldir /usr/bin || die | ||
29 | minstalldir /usr/$(mlibdir)/misc || die | ||
30 | |||
31 | # install wrapper | ||
32 | minstallexec -s ${SRCFILE} /usr/$(mlibdir)/misc/ac-wrapper.sh || die | ||
33 | |||
34 | # install proper symlinks | ||
35 | local i | ||
36 | for i in autoconf \ | ||
37 | autoheader \ | ||
38 | autom4te \ | ||
39 | autoreconf \ | ||
40 | autoscan \ | ||
41 | autoupdate \ | ||
42 | ifnames | ||
43 | do | ||
44 | mlink ../$(mlibdir)/misc/ac-wrapper.sh /usr/bin/${i} || die | ||
45 | done | ||
46 | } | ||
47 | |||
48 | preinstall() | ||
49 | { | ||
50 | # remove these to make sure symlinks install properly if | ||
51 | # old versions were binaries | ||
52 | for x in autoconf autoheader autoreconf autoscan autoupdate ifnames autom4te | ||
53 | do | ||
54 | if [ -e ${MROOT}/usr/bin/${x} ] | ||
55 | then | ||
56 | rm -f ${MROOT}/usr/bin/${x} | ||
57 | fi | ||
58 | done | ||
59 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |