Contents of /trunk/extras/libteam/libteam-1.27-r1.smage2
Parent Directory | Revision Log
Revision 29393 -
(show annotations)
(download)
Thu Jun 8 12:40:54 2017 UTC (7 years, 3 months ago) by niro
File size: 996 byte(s)
Thu Jun 8 12:40:54 2017 UTC (7 years, 3 months ago) by niro
File size: 996 byte(s)
auto added: ver bump to 1.27-r1
1 | # $Id$ |
2 | |
3 | PNAME="libteam" |
4 | PVER="1.27" |
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 | } |