Annotation of /trunk/core/autoconf/autoconf-5-r1.smage2
Parent Directory | Revision Log
Revision 862 -
(hide annotations)
(download)
Fri Dec 26 18:06:49 2008 UTC (15 years, 9 months ago) by niro
File size: 1177 byte(s)
Fri Dec 26 18:06:49 2008 UTC (15 years, 9 months ago) by niro
File size: 1177 byte(s)
-ver bump to 5-r1
1 | niro | 862 | # $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="5" | ||
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/autoconf26-2.63" | ||
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 |