Magellan Linux

Contents of /branches/R11-unstable/core/popt/popt-1.16-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32112 - (show annotations) (download)
Mon Apr 29 11:39:52 2019 UTC (5 years ago) by niro
File size: 719 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="popt"
4 PVER="1.16"
5 PBUILD="r5"
6
7 PCAT="dev-libs"
8
9 DESCRIPTION="Popt - Library for parsing command line options."
10 HOMEPAGE="http://rpm5.org/"
11
12 DEPEND=">= sys-dev/gettext-0.18"
13
14 SRCFILE="${PNAME}-${PVER}.tar.gz"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 sminclude multilib mbuild
18
19 SRC_URI=(
20 #http://rpm5.org/files/${PNAME}/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${PNAME}-${PVER}-pkgconfig-libdir.patch
23 )
24
25 UP2DATE="updatecmd http://rpm5.org/files/${PNAME} | highesttarball gz"
26
27 src_prepare()
28 {
29 munpack ${SRCFILE} || die
30
31 # fix broken pkg-config libdir
32 mpatch ${PNAME}-${PVER}-pkgconfig-libdir.patch || die
33 }
34
35 src_compile()
36 {
37 mconfigure --enable-nls --with-gnu-ld || die
38 mmake || die
39 }