Magellan Linux

Contents of /smage/trunk/deprecated/libgssglue/libgssglue-0.7-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17445 - (show annotations) (download)
Fri Nov 24 09:31:58 2023 UTC (6 months ago) by niro
File size: 1178 byte(s)
-moved to 'deprecated'
1 # $Id$
2
3 PNAME="libgssglue"
4 PVER="0.7"
5 PBUILD="r1"
6
7 PCAT="net-libs"
8
9 DESCRIPTION="Library exporting a gssapi interface to call gssapi routines in other libraries."
10 HOMEPAGE="https://gitlab.com/gsasl/libgssglue"
11
12 # requires krb5 at runtime!
13 DEPEND=">= virtual/glibc"
14 ALX_LIB32_DEPEND=">= virtual/glibc-lib32"
15
16 SDEPEND=">= sys-dev/autoconf-10
17 >= sys-dev/automake-10"
18
19 SRCFILE="${PNAME}-${PNAME}-${PVER}.tar.gz"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PNAME}-${PVER}"
21
22 ALX_PKG_KEEP="usr/$(MABI=m64 mlibdir)/*.so.* etc"
23 ALX_LIB32_PKG_KEEP="usr/$(MABI=m32 mlibdir)/*.so.*"
24 sminclude multilib mbuild lib32-split alx-split
25
26 SRC_URI=(
27 https://gitlab.com/gsasl/${PNAME}/-/archive/${PNAME}-${PVER}/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 )
30
31 UP2DATE="updatecmd https://gitlab.com/gsasl/${PNAME}/-/releases | highesttarball gz"
32
33 src_prepare()
34 {
35 munpack ${SRCFILE} || die
36
37 # changelog is missing
38 all-abis touch ChangeLog || die
39 mautoreconf || die
40 }
41
42 alx_generic_src_install()
43 {
44 mmake DESTDIR=${BINDIR} install || die
45
46 # config
47 minstalletc doc/gssapi_mech.conf || die
48
49 minstalldocs AUTHORS COPYING NEWS README || die
50 }
51
52 preinstall_libgssglue()
53 {
54 add_conf_prot_mask /etc/gssapi_mech.conf
55 }