Contents of /branches/magellan-0_10_0/core/autoconf/autoconf-5-r1.smage2
Parent Directory | Revision Log
Revision 3000 -
(show annotations)
(download)
Mon Oct 5 18:47:41 2009 UTC (14 years, 11 months ago) by niro
File size: 1177 byte(s)
Mon Oct 5 18:47:41 2009 UTC (14 years, 11 months ago) by niro
File size: 1177 byte(s)
created branch 'magellan-0_10_0'
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="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 |