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