Magellan Linux

Annotation of /trunk/extras/libteam/libteam-1.29-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 33213 - (hide annotations) (download)
Sat Oct 19 12:10:45 2019 UTC (4 years, 7 months ago) by niro
File size: 996 byte(s)
auto added: ver bump to 1.29-r1
1 niro 33213 # $Id$
2    
3     PNAME="libteam"
4     PVER="1.29"
5     PBUILD="r1"
6    
7     PCAT="net-libs"
8    
9     DESCRIPTION="Library for controlling team network devices."
10     HOMEPAGE="http://libteam.org/"
11    
12     DEPEND=">= dev-libs/libnl3-3.2.25
13     >= dev-libs/libdaemon-0.14
14     >= dev-libs/jansson-2.7
15     >= sys-apps/dbus-1.10"
16    
17     SDEPEND=">= dev-lang/python-2.7
18     >= dev-lang/swig-2"
19    
20     SRCFILE="${PNAME}-${PVER}.tar.gz"
21     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
22    
23     sminclude python multilib systemd dbus
24    
25     SRC_URI=(
26     http://libteam.org/files/${SRCFILE}
27     mirror://${PNAME}/${SRCFILE}
28     )
29    
30     UP2SEPERATOR="v"
31     UP2DATE="updatecmd https://github.com/jpirko/${PNAME}/releases | highesttarball gz"
32    
33     src_compile()
34     {
35     mconfigure || die
36     mmake || die
37    
38     SRCSUBDIR="binding/python"
39     all-abis python_docompile || die
40     unset SRCSUBDIR
41     }
42    
43     src_install()
44     {
45     mmake DESTDIR=${BINDIR} install || die
46    
47     minstallunit teamd/redhat/systemd/teamd@.service || die
48     minstalldbusconfig teamd/dbus/teamd.conf || die
49    
50     SRCSUBDIR="binding/python"
51     all-abis python_doinstall || die
52     unset SRCSUBDIR
53     }