Magellan Linux

Contents of /smage/branches/alx07x-unstable/core/attr/attr-2.4.48-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14690 - (show annotations) (download)
Tue Aug 4 11:44:55 2020 UTC (3 years, 8 months ago) by niro
File size: 863 byte(s)
-release branches/alx07x-unstable
1 # $Id$
2
3 PNAME="attr"
4 PVER="2.4.48"
5 PBUILD="r2"
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.20"
15
16 SRCFILE="${PNAME}-${PVER}.tar.gz"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18
19 ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*"
20 sminclude mtools multilib mbuild alx-split
21 msetfeature "!check"
22
23 SRC_URI=(
24 http://download.savannah.gnu.org/releases/${PNAME}/${SRCFILE}
25 )
26
27 UP2SUBSTITUTE=".src"
28 UP2DATE="updatecmd http://download.savannah.gnu.org/releases/${PNAME} | highesttarball gz"
29
30 src_compile()
31 {
32 # enable CFLAGS
33 export OPTIMIZER="${CFLAGS}"
34
35 # disable debug code
36 export DEBUG="-DNDEBUG"
37
38 mconfigure \
39 --libexecdir=/usr/'$(mlibdir)' \
40 --disable-gettext \
41 --disable-static \
42 || die
43
44 mmake || die
45 }