Annotation of /branches/magellan-next/core/acl/acl-2.2.47-r2.smage2
Parent Directory | Revision Log
Revision 3112 -
(hide annotations)
(download)
Tue Oct 13 13:59:49 2009 UTC (14 years, 7 months ago) by niro
Original Path: trunk/core/acl/acl-2.2.47-r2.smage2
File size: 2309 byte(s)
Tue Oct 13 13:59:49 2009 UTC (14 years, 7 months ago) by niro
Original Path: trunk/core/acl/acl-2.2.47-r2.smage2
File size: 2309 byte(s)
auto added: ver bump to 2.2.47-r2
1 | niro | 3104 | # $Id$ |
2 | |||
3 | PNAME="acl" | ||
4 | PVER="2.2.47" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCATEGORIE="sys-apps" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="acl: POSIX Access Control Lists." | ||
11 | HOMEPAGE="http://xfs.org/" | ||
12 | |||
13 | DEPEND=">= sys-apps/attr-2.4" | ||
14 | |||
15 | SDEPEND=">= sys-dev/autoconf-5 | ||
16 | >= sys-dev/gettext-0.17" | ||
17 | |||
18 | SRCFILE="${PNAME}_${PVER}-1.tar.gz" | ||
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
20 | |||
21 | sminclude mtools multilib | ||
22 | |||
23 | SRC_URI=( | ||
24 | ftp://oss.sgi.com/projects/xfs/cmd_tars/${SRCFILE} | ||
25 | ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/${SRCFILE} | ||
26 | mirror://${PNAME}/${SRCFILE} | ||
27 | mirror://${PNAME}/${PNAME}-${PVER}-introduce-new-WALK_TREE_DEREFERENCE_TOPLEVEL-flag.patch | ||
28 | mirror://${PNAME}/${PNAME}-${PVER}-make-sure-that-getfacl-R-only-calls-stat-2-on-symlin.patch | ||
29 | mirror://${PNAME}/${PNAME}-${PVER}-libtool.patch | ||
30 | mirror://${PNAME}/${PNAME}-${PVER}-only-symlink-when-needed.patch | ||
31 | ) | ||
32 | |||
33 | UP2DATE="updatecmd ftp://oss.sgi.com/projects/xfs/cmd_tars | grep ${PNAME} | sed -n 's/.*_\(.*\)-[0-9]\..*/\1/;$ p'" | ||
34 | |||
35 | src_prepare() | ||
36 | { | ||
37 | munpack ${SRCFILE} || die | ||
38 | |||
39 | mpatch ${PNAME}-${PVER}-introduce-new-WALK_TREE_DEREFERENCE_TOPLEVEL-flag.patch || die | ||
40 | mpatch ${PNAME}-${PVER}-make-sure-that-getfacl-R-only-calls-stat-2-on-symlin.patch || die | ||
41 | mpatch ${PNAME}-${PVER}-libtool.patch || die | ||
42 | mpatch ${PNAME}-${PVER}-only-symlink-when-needed.patch || die | ||
43 | |||
44 | niro | 3106 | local abi |
45 | for abi in ${MULTILIB_ABIS} | ||
46 | do | ||
47 | cd ${SRCDIR}-${abi} | ||
48 | sed -i \ | ||
49 | -e "/^PKG_DOC_DIR/s:@pkg_name@:${PNAME}-${PVER}:" \ | ||
50 | -e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \ | ||
51 | include/builddefs.in \ | ||
52 | || die | ||
53 | niro | 3104 | |
54 | niro | 3106 | # libtool fixes |
55 | sed -i -e '/autoconf/d' -e 's@default: $(CONFIGURE)@default:@' Makefile || die | ||
56 | sed -i "/AC_OUTPUT/i\AC_PROG_LIBTOOL" configure.in || die | ||
57 | niro | 3104 | |
58 | niro | 3106 | # libtool will clobber install-sh which is really a custom file |
59 | mv install-sh attr.install-sh || die | ||
60 | niro | 3107 | libtoolize --install --force || die |
61 | niro | 3106 | mv attr.install-sh install-sh || die |
62 | aclocal -I m4 || die | ||
63 | autoconf || die | ||
64 | done | ||
65 | niro | 3104 | } |
66 | |||
67 | src_compile() | ||
68 | { | ||
69 | # enable CFLAGS | ||
70 | export OPTIMIZER="${CFLAGS}" | ||
71 | |||
72 | # disable debug code | ||
73 | export DEBUG="-DNDEBUG" | ||
74 | |||
75 | mconfigure \ | ||
76 | --bindir=/bin \ | ||
77 | niro | 3112 | --libdir=/'$(mlibdir)' \ |
78 | --libexecdir=/usr/'$(mlibdir)' \ | ||
79 | niro | 3104 | --enable-gettext \ |
80 | || die | ||
81 | |||
82 | mmake LIBTOOL=$PWD/libtool || die | ||
83 | } | ||
84 | |||
85 | src_install() | ||
86 | { | ||
87 | mmake LIBTOOL=$PWD/libtool DIST_ROOT=${BINDIR} install install-dev install-lib || die | ||
88 | minstalldocs README VERSION doc/{CHANGES,COPYING} || die | ||
89 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |