Magellan Linux

Annotation of /smage/branches/alx07x-unstable/core/attr/attr-2.4.48-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11831 - (hide annotations) (download)
Wed Aug 15 07:54:42 2018 UTC (5 years, 8 months ago) by niro
Original Path: smage/trunk/core/attr/attr-2.4.48-r1.smage2
File size: 863 byte(s)
auto added: ver bump to 2.4.48-r1
1 niro 11830 # $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 niro 11831 SRCFILE="${PNAME}-${PVER}.tar.gz"
17 niro 11830 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     }