2 # Copyright (C) 2019-2021 CZ.NIC z.s.p.o. (https://www.nic.cz/)
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE_VERSION
:=2.6.3
15 PKG_SOURCE_URL
:=https
://github.com
/RIPE-NCC
/ripe-atlas-probe-busybox
16 PKG_MIRROR_HASH
:=f53a2b29fedc2b6a44880b6f75b433e7cc0a51d6dc643bff86539f78b5aa653e
18 PKG_MAINTAINER
:=Jan Pavlinec
<jan.pavlinec1@gmail.com
>
19 PKG_LICENSE
:=GPL-2.0
-or-later
20 PKG_LICENSE_FILES
:=LICENSE
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/atlas-probe
30 TITLE
:=RIPE Atlas probe measurement
31 DEPENDS
:=+librt
+libopenssl
+openssh-client
+sudo
32 USERID
:=atlas
=444:atlas
=444
33 URL
:=https
://atlas.ripe.net
/
36 define Package
/atlas-probe
/description
37 RIPE Atlas is a global
, open
, distributed Internet measurement platform
,
38 consisting of thousands of measurement devices that measure Internet
39 connectivity in real time.
42 TARGET_CFLAGS
+= $(FPIC
)
48 CONFIGURE_PATH
= libevent-2.1
.11-stable
50 TARGET_LDFLAGS
= -L
$(PKG_BUILD_DIR
)/$(CONFIGURE_PATH
)/.libs
54 $(MAKE
) $(PKG_JOBS
) -C
$(PKG_BUILD_DIR
)/$(CONFIGURE_PATH
) \
57 $(MAKE
) $(PKG_JOBS
) -C
$(PKG_BUILD_DIR
) \
61 define Package
/atlas-probe
/install
63 $(MAKE
) $(PKG_JOBS
) -C
$(PKG_BUILD_DIR
) \
64 $(MAKE_FLAGS
) CONFIG_PREFIX
=$(1)/usr
/libexec
/atlas-probe
install
65 $(INSTALL_DIR
) $(1)/usr
/libexec
/atlas-probe
/state
66 echo
$(PKG_VERSION
) > $(1)/usr
/libexec
/atlas-probe
/state
/VERSION
69 $(eval
$(call BuildPackage
,atlas-probe
))