Annotation of /smage/branches/alx-0_9_0/prelink/prelink-20071009-r1.smage2
Parent Directory | Revision Log
Revision 1271 -
(hide annotations)
(download)
Tue Dec 29 12:48:37 2009 UTC (14 years, 8 months ago) by niro
File size: 1461 byte(s)
Tue Dec 29 12:48:37 2009 UTC (14 years, 8 months ago) by niro
File size: 1461 byte(s)
renamed branch_0.9.0 to alx-0_9_0
1 | niro | 3 | # $Header: /alx-cvs/smage-eglibc/prelink/prelink-20071009-r1.smage2,v 1.1 2008/09/20 10:30:00 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 alx | ||
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 |