Magellan Linux

Contents of /branches/R11-unstable/extras/libpsl/libpsl-0.20.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32651 - (show annotations) (download)
Mon Apr 29 13:21:11 2019 UTC (5 years ago) by niro
File size: 1089 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="libpsl"
4 PVER="0.20.2"
5 PBUILD="r1"
6
7 PCAT="net-libs"
8
9 DESCRIPTION="C library for the Public Suffix List."
10 HOMEPAGE="https://github.com/rockdaboot/libpsl"
11
12 DEPEND=">= net-dns/libidn-1.35
13 >= dev-libs/icu-63.1"
14
15 SDEPEND=">= sys-dev/gettext-0.18
16 >= dev-util/pkgconfig-0.25
17 >= dev-util/intltool-0.50
18 >= dev-libs/libxslt-1.1
19 >= net-misc/publicsuffix-list-201901"
20
21 SRCFILE="${PNAME}-${PVER}.tar.gz"
22 SRCDIR="${BUILDDIR}/${PNAME}-${PNAME}-${PVER}"
23
24 sminclude multilib mbuild
25
26 SRC_URI=(
27 https://github.com/rockdaboot/${PNAME}/archive/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 )
30
31 UP2DATE="updatecmd https://github.com/rockdaboot/${PNAME}/releases | highesttarball gz"
32
33 src_prepare()
34 {
35 munpack ${SRCFILE} || die
36
37 # disable gtk-doc generation
38 all-abis 'echo "EXTRA_DIST =" > gtk-doc.make || die'
39 all-abis 'echo "CLEANFILES =" >> gtk-doc.make || die'
40 mautoreconf || die
41 }
42
43 src_compile()
44 {
45 mconfigure \
46 --disable-gtk-doc \
47 --with-psl-file=/usr/share/publicsuffix/effective_tld_names.dat \
48 --with-psl-testfile=/usr/share/publicsuffix/test_psl.txt \
49 || die
50
51 mmake || die
52 }