Contents of /trunk/core/acl/acl-2.2.53-r1.smage2
Parent Directory | Revision Log
Revision 31285 -
(show annotations)
(download)
Thu Jun 21 09:19:47 2018 UTC (6 years, 3 months ago) by niro
File size: 833 byte(s)
Thu Jun 21 09:19:47 2018 UTC (6 years, 3 months ago) by niro
File size: 833 byte(s)
-fixed SRCFILE, make use of DESTDIR, no need to patch builddefs and simply use mbuild sminclude
1 | # $Id$ |
2 | |
3 | PNAME="acl" |
4 | PVER="2.2.53" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="sys-apps" |
8 | |
9 | DESCRIPTION="acl: POSIX Access Control Lists." |
10 | HOMEPAGE="http://savannah.nongnu.org/projects/${PNAME}" |
11 | |
12 | DEPEND=">= sys-apps/attr-2.4" |
13 | |
14 | SDEPEND=">= sys-dev/autoconf-5 |
15 | >= sys-dev/gettext-0.18" |
16 | |
17 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
19 | |
20 | sminclude mtools multilib mbuild |
21 | msetfeature "!check" |
22 | |
23 | SRC_URI=( |
24 | http://download.savannah.gnu.org/releases/${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2SUBSTITUTE=".src" |
29 | UP2DATE="updatecmd http://download.savannah.gnu.org/releases/${PNAME} | highesttarball gz" |
30 | |
31 | src_compile() |
32 | { |
33 | # enable CFLAGS |
34 | export OPTIMIZER="${CFLAGS}" |
35 | |
36 | # disable debug code |
37 | export DEBUG="-DNDEBUG" |
38 | |
39 | mconfigure \ |
40 | --libexecdir=/usr/'$(mlibdir)' \ |
41 | --enable-gettext \ |
42 | --disable-static \ |
43 | || die |
44 | |
45 | mmake || die |
46 | } |