Contents of /smage/branches/alx08x-stable/core/popt/popt-1.19-r1.smage2
Parent Directory | Revision Log
Revision 16799 -
(show annotations)
(download)
Fri Oct 6 16:39:09 2023 UTC (8 months ago) by niro
File size: 828 byte(s)
Fri Oct 6 16:39:09 2023 UTC (8 months ago) by niro
File size: 828 byte(s)
-release branches/alx08x-stable
1 | # $Id$ |
2 | |
3 | PNAME="popt" |
4 | PVER="1.19" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="dev-libs" |
8 | |
9 | DESCRIPTION="Popt - Library for parsing command line options." |
10 | HOMEPAGE="http://rpm5.org/" |
11 | |
12 | DEPEND=">= virtual/glibc" |
13 | SDEPEND=">= sys-dev/gettext-0.18" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | ALX_PKG_KEEP="usr/$(MABI=m64 mlibdir)/*.so.*" |
19 | ALX_LIB32_PKG_KEEP="usr/$(MABI=m32 mlibdir)/*.so.*" |
20 | sminclude multilib mbuild lib32-split alx-split |
21 | |
22 | SRC_URI=( |
23 | https://ftp.osuosl.org/pub/rpm/${PNAME}/releases/popt-1.x/${SRCFILE} |
24 | http://rpm5.org/files/${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2DATE="updatecmd http://rpm5.org/files/${PNAME} | highesttarball gz" |
29 | |
30 | src_compile() |
31 | { |
32 | # alx: --disable-nls |
33 | # avoid issues with stripping |
34 | CLAGS+=" -ffat-lto-objects" \ |
35 | mconfigure --disable-nls --with-gnu-ld || die |
36 | mmake || die |
37 | } |