Contents of /branches/magellan-0_10_0/todo/prelink/prelink-20071009-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: 1455 byte(s)
Mon Oct 5 18:47:41 2009 UTC (14 years, 11 months ago) by niro
File size: 1455 byte(s)
created branch 'magellan-0_10_0'
1 | # $Header: /magellan-cvs/smage/prelink/prelink-20071009-r1.smage2,v 1.3 2008/04/20 23:54:05 niro Exp $ |
2 | |
3 | PNAME="prelink" |
4 | PVER="20071009" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="dev-util" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="ELF prelinking utility to speed up dynamic linking." |
11 | HOMEPAGE="ftp://people.redhat.com/jakub/prelink/" |
12 | |
13 | DEPEND=">= sys-dev/binutils-2.18 |
14 | >= virtual/glibc |
15 | >= dev-libs/elfutils-0.131" |
16 | |
17 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
18 | SRCDIR="${BUILDDIR}/${PNAME}" |
19 | |
20 | sminclude mbuild mtools |
21 | |
22 | SRC_URI=( |
23 | mirror://${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/prelink.conf-20060712 |
25 | mirror://${PNAME}/prelink.cron |
26 | mirror://${PNAME}/prelink.confd |
27 | mirror://${PNAME}/${PNAME}-20040707-init.patch |
28 | mirror://${PNAME}/${PNAME}-20060213-symloop.patch |
29 | ) |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | cd ${SRCDIR} |
35 | |
36 | # restart init after prelinking |
37 | mpatch ${PNAME}-20040707-init.patch || die |
38 | |
39 | # fix some loops on symbols |
40 | mpatch ${PNAME}-20060213-symloop.patch || die |
41 | } |
42 | |
43 | src_install() |
44 | { |
45 | cd ${SRCDIR} |
46 | |
47 | minstall || die |
48 | |
49 | # install our config |
50 | minstalletc prelink.conf-20060712 prelink.conf || die |
51 | |
52 | # install cronjob related stuff |
53 | minstallcron daily prelink.cron prelink || die |
54 | minstallconf prelink.confd prelink || die |
55 | |
56 | memptyfile /var/lib/misc/prelink.full || die |
57 | memptyfile /var/lib/misc/prelink.quick || die |
58 | memptyfile /var/lib/misc/prelink.force || die |
59 | memptyfile /var/log/prelink.log || die |
60 | |
61 | # docs |
62 | minstalldocs AUTHORS COPYING ChangeLog NEWS README THANKS TODO || die |
63 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |